summaryrefslogtreecommitdiffstats
path: root/net/hsr
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-17 02:50:05 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-17 04:10:34 +0100
commit3f40504f7ee419eda0068e55e0ee2622e1fce40b (patch)
tree5a73408e3b982fa823210965fcc4277da18663d5 /net/hsr
parenttipc: standardize accept routine (diff)
downloadlinux-3f40504f7ee419eda0068e55e0ee2622e1fce40b.tar.xz
linux-3f40504f7ee419eda0068e55e0ee2622e1fce40b.zip
tipc: standardize sendmsg routine of connectionless socket
Comparing the behaviour of how to wait for events in TIPC sendmsg() with other stacks, the TIPC implementation might be perceived as different, and sometimes even incorrect. For instance, sk_sleep() and tport->congested variables associated with socket are exposed without socket lock protection while wait_event_interruptible_timeout() accesses them. So standardizing it with similar implementation in other stacks can help us correct these errors which the process of calling sendmsg() cannot be woken up event if an expected event arrive at socket or improperly woken up although the wake condition doesn't match. 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>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions