]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Ensure broadcast link spinlock is held when updating node map
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 24 Oct 2011 15:18:12 +0000 (11:18 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:48 +0000 (11:33 -0500)
commitd82f0ae077ec4ee61451804399f54d072572881a
tree6683d9e56ca9554aa8c446b311521449c2f4ded5
parent442112b359e8e0b4481548d3b747a03a6d666488
tipc: Ensure broadcast link spinlock is held when updating node map

Fixes oversight that allowed broadcast link node map to be updated without
first taking the broadcast link spinlock that protects the map. As part
of this fix the node map has been incorporated into the broadcast link
structure to make the need for such protection more evident.

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