android_kernel_samsung_msm8976/net/tipc
Allan Stephens 169073db44 tipc: Prevent broadcast link stalling when another node fails
Ensure that broadcast link messages that have not been acknowledged
by a newly failed node do not get an implied acknowledgement until the
failed node is removed from the broadcast link's map of reachable nodes.

Previously, a race condition allowed a new broadcast link message to be
sent after the implicit acknowledgement processing was completed, but
before the map of reachable nodes was updated, resulting in the message
having an expected acknowledgement count that required the failed node
to explicitly acknowledge the message. Since this would never occur
the new message would remain in the broadcast link's transmit queue
forever, eventually causing the link to become congested and "stall".
Delaying the implicit acknowledgement processing until after the update
of the map of reachable nodes eliminates this race condition and prevents
stalling.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-09-01 11:16:36 -04:00
..
addr.c
addr.h tipc: make zone/cluster mask constants a define 2011-05-10 16:03:54 -04:00
bcast.c tipc: Remove non-executable code to handle broadcast bearer congestion 2011-09-01 11:16:36 -04:00
bcast.h tipc: Remove non-executable code to handle broadcast bearer congestion 2011-09-01 11:16:36 -04:00
bearer.c tipc: Remove non-executable code to handle broadcast bearer congestion 2011-09-01 11:16:36 -04:00
bearer.h tipc: Eliminate unused field in bearer structure 2011-06-24 16:18:16 -04:00
config.c
config.h
core.c
core.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
discover.c tipc: Revise timings used when sending link request messages 2011-05-10 16:04:02 -04:00
discover.h tipc: Add monitoring of number of nodes discovered by bearer 2011-05-10 16:04:01 -04:00
eth_media.c
handler.c
Kconfig
link.c tipc: Enhance filtering of out-dated link reset messages 2011-09-01 11:16:35 -04:00
link.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
log.c
log.h
Makefile
msg.c tipc: Eliminate useless check when creating internal message 2011-06-24 16:18:17 -04:00
msg.h tipc: Cleanup of message header size terminology 2011-06-24 16:18:17 -04:00
name_distr.c tipc: Cleanup of message header size terminology 2011-06-24 16:18:17 -04:00
name_distr.h
name_table.c tipc: Eliminate checks for empty zone list during name translation 2011-06-24 16:18:16 -04:00
name_table.h tipc: Convert name table publication lists to standard kernel lists 2011-06-24 16:18:16 -04:00
net.c tipc: Remove obsolete manipulation of message re-route count field 2011-09-01 11:16:35 -04:00
net.h
netlink.c
node.c tipc: Prevent broadcast link stalling when another node fails 2011-09-01 11:16:36 -04:00
node.h
node_subscr.c
node_subscr.h
port.c tipc: Optimize creation of connection protocol messages 2011-06-24 16:18:18 -04:00
port.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
ref.c
ref.h
socket.c tipc: Remove unnecessary includes in socket code 2011-06-24 16:18:16 -04:00
subscr.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
subscr.h