]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76de5ae50da8b04bf0d0283309d3368df45abc2e
tree544d8226e2adf82a31e5bb7639c439a12bec7cea
parent6a4d9acd69c059d561b2876151cdf326f73a71b7
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