]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Fix node lock reclamation issues in broadcast link reception
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 26 Oct 2011 19:33:44 +0000 (15:33 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:17 +0000 (16:59 -0500)
commit3d9f29c51a74c7114f2561e6c50efe7b2609cd46
tree249a3987649b2e7c35c5099071ecaf1355308c80
parent561d480d33fe113e31c788340cf3a73db6c79251
tipc: Fix node lock reclamation issues in broadcast link reception

Fixes a pair of problems in broadcast link message reception code
relating to the reclamation of the node lock after consuming an
in-sequence message.

1) Now retests to see if the sending node is still up after reclaiming
   the node lock, and bails out if it is non-operational.

2) Now manipulates the node's deferred message queue only after
   reclaiming the node lock, rather than using queue head pointer
   information that was cached previously.

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