tipc: Flush unsent broadcast messages when contact with last node is lost
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 24 Oct 2011 18:59:20 +0000 (14:59 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:52 +0000 (11:33 -0500)
commit10745cd5990542447268f60078133df8b1ee960b
tree544d8226e2adf82a31e5bb7639c439a12bec7cea
parent9157bafb44637a2cfefc222d6551100ead40e79e
tipc: Flush unsent broadcast messages when contact with last node is lost

Adds code to release any unsent broadcast messages in the broadcast link
transmit queue if TIPC loses contact with its only neighboring node.
Previously, a broadcast link that was in the congested state would hold
on to the unsent messages, even though the messages were now undeliverable.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bcast.c