]> 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)
commitac94f3afe343f2c38a263a6f4a49bdd88b9405d4
tree7c0c3aa49a645be67a43bdec3b3e354714dc1f61
parente5dd69dd697e88d546b0219d98eff0814d391a91
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