tipc: Prevent node object duplication due to simultaneous discovery
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 21 May 2008 21:53:00 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2008 21:53:00 +0000 (14:53 -0700)
commit2ecb0924d7791372a70ef8f1174e37b329b955c3
tree70325c7aacda9e2076fe86664938bf5d794095ed
parent59f0c4523fdea865fab7d69d878269992a9d08dd
tipc: Prevent node object duplication due to simultaneous discovery

This patch ensures that the simultaneous discovery of the same
neighboring node by multiple interfaces does not cause TIPC to add
the node into its internal data structures more than once.

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