From: Jon Paul Maloy Date: Thu, 5 Feb 2015 13:36:42 +0000 (-0500) Subject: tipc: simplify connection abort notifications when links break X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708ac32cb5e1305cf3670e147eedcc699d110ed0;p=pandora-kernel.git 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 Signed-off-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed