diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-02-05 08:36:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 16:00:02 -0800 |
commit | 708ac32cb5e1305cf3670e147eedcc699d110ed0 (patch) | |
tree | 5b8d52c787ffa48758eb0ee974dac9489b254280 /net/tipc/socket.c | |
parent | c637c1035534867b85b78b453c38c495b58e2c5a (diff) | |
download | op-kernel-dev-708ac32cb5e1305cf3670e147eedcc699d110ed0.zip op-kernel-dev-708ac32cb5e1305cf3670e147eedcc699d110ed0.tar.gz |
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 <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions