tipc: Prevent crash when broadcast link cannot send to all nodes
commit7e3e5d0950559d1118dccbdff3c765fffcf04fd5
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:08 +0000 (17 11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:31:54 +0000 (17 17:31 -0700)
tree9741b0dcae188721790b9f384e3b7d8d518951b5
parentb02b69c8a403859ec72090742727e853d606a325
tipc: Prevent crash when broadcast link cannot send to all nodes

Allow TIPC's broadcast link to continue operation when it is unable
to send a message to all nodes in the cluster.  Previously, the
broadcast link attempted to put the broadcast pseudo-bearer into a
blocked state; however, this caused a crash because the associated
bearer structure is only partially initialized.  Further
investigation has revealed some conceptual problems with blocking
the pseudo-bearer; consequently, this functionality has been
disabled for the time being and the undelivered message is
eventually resent by the broadcast link's existing message
retransmission mechanism (if possible).

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