]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: standardize recvmsg routine
authorYing Xue <ying.xue@windriver.com>
Fri, 17 Jan 2014 01:50:07 +0000 (09:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jan 2014 03:10:34 +0000 (19:10 -0800)
commit35443cdd756b0fc602cafc497f1208206379376b
tree7c0c3aa49a645be67a43bdec3b3e354714dc1f61
parent44de8e67828abda0b94465cdd4a25ab9e3ec3ccd
tipc: standardize recvmsg routine

Standardize the behaviour of waiting for events in TIPC recvmsg()
so that all variables of socket or port structures are protected
within socket lock, allowing the process of calling recvmsg() to
be woken up at appropriate time.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c