aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorJon Paul Maloy <[email protected]>2015-02-05 13:36:42 +0000
committerDavid S. Miller <[email protected]>2015-02-06 00:00:02 +0000
commit708ac32cb5e1305cf3670e147eedcc699d110ed0 (patch)
tree5b8d52c787ffa48758eb0ee974dac9489b254280 /net/tipc/socket.c
parenttipc: resolve race problem at unicast message reception (diff)
downloadkernel-708ac32cb5e1305cf3670e147eedcc699d110ed0.tar.gz
kernel-708ac32cb5e1305cf3670e147eedcc699d110ed0.zip
tipc: simplify connection abort notifications when links break
The new input message queue in struct tipc_link can be used for delivering connection abort messages to subscribing sockets. This makes it possible to simplify the code for such cases. This commit removes the temporary list in tipc_node_unlock() used for transforming abort subscriptions to messages. Instead, the abort messages are now created at the moment of lost contact, and then added to the last failed link's generic input queue for delivery to the sockets concerned. Reviewed-by: Ying Xue <[email protected]> Signed-off-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions