]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Add missing locks when inspecting node list & link list
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Jul 2008 05:44:58 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 05:44:58 +0000 (22:44 -0700)
commit27ed4f7dd1ff957a3bb66dab0e34e133cda0646c
treeae5e1f5e0fbd5bed8ed75ddf6184d4f7ec71354f
parente19ad487816cb6c4f61d5bad57c14a747d7949af
tipc: Add missing locks when inspecting node list & link list

This patch ensures that TIPC configuration commands that display info
about neighboring nodes and their links take the spinlocks that
protect the node list and link lists from changing while the lists
are being traversed.

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