summaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-03-02 15:37:47 +0800
committerDavid S. Miller <davem@davemloft.net>2015-03-02 13:06:31 -0500
commit39a0295f901423e260a034ac7c3211ecaa9c2745 (patch)
tree8df7aaa52eb02e0253bc49422b628306942ab2f2 /net/core/netpoll.c
parent6556c38524f3a55427598af2d7fc9c1d9c75bdae (diff)
downloadlinux-39a0295f901423e260a034ac7c3211ecaa9c2745.tar.gz
linux-39a0295f901423e260a034ac7c3211ecaa9c2745.tar.bz2
linux-39a0295f901423e260a034ac7c3211ecaa9c2745.zip
tipc: Don't use iocb argument in socket layer
Currently the iocb argument is used to idenfiy whether or not socket lock is hold before tipc_sendmsg()/tipc_send_stream() is called. But this usage prevents iocb argument from being dropped through sendmsg() at socket common layer. Therefore, in the commit we introduce two new functions called __tipc_sendmsg() and __tipc_send_stream(). When they are invoked, it assumes that their callers have taken socket lock, thereby avoiding the weird usage of iocb argument. Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions