diff options
| author | Ying Xue <[email protected]> | 2015-03-02 07:37:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-02 18:06:31 +0000 |
| commit | 39a0295f901423e260a034ac7c3211ecaa9c2745 (patch) | |
| tree | 8df7aaa52eb02e0253bc49422b628306942ab2f2 /net/unix/af_unix.c | |
| parent | Merge branch 'dropcount' (diff) | |
| download | kernel-39a0295f901423e260a034ac7c3211ecaa9c2745.tar.gz kernel-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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reviewed-by: Erik Hugne <[email protected]>
Reviewed-by: Jon Maloy <[email protected]>
Signed-off-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
