]> err.no Git - linux-2.6/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)
commit1aad72d6cd518872c5f545320823bf7f4dafb026
treeae5e1f5e0fbd5bed8ed75ddf6184d4f7ec71354f
parent08d2cf0f74b3ee5e773bb906043a0efe96ded229
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