tipc: Fix node lock problems during broadcast message reception
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 7 Apr 2011 17:57:25 +0000 (13:57 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 1 Sep 2011 15:16:36 +0000 (11:16 -0400)
commit5d3c488dfe5f797d9f3cee2e8928aad8a2f6e44f
tree93e9f59a4ad2c155939b6f66ca30d1e9201fff87
parent169073db442cb9e5aa2b70a2e4158d4f35a3b810
tipc: Fix node lock problems during broadcast message reception

Modifies TIPC's incoming broadcast packet handler to ensure that the
node lock associated with the sender of the packet is held whenever
node-related data structure fields are accessed. The routine is also
restructured with a single exit point, making it easier to ensure
the node lock is properly released and the incoming packet is properly
disposed of.

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