]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
tipc: Prevent missing name table entries when link flip-flops rapidly
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:16 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:32:00 +0000 (17:32 -0700)
commit5a68d5ee000bb784c4856391b4861739c8bbd341
treebf00540edd8adae24f3805b08d53ba37af6366d7
parent564e83b51a12b794e3f63a2d872398e1ee21616f
tipc: Prevent missing name table entries when link flip-flops rapidly

Ensure that TIPC does not re-establish communication with a
neighboring node until it has finished updating all data structures
containing information about that node to reflect the earlier loss of
contact.  Previously, it was possible for TIPC to perform its purge of
name table entries relating to the node once contact had already been
re-established, resulting in the unwanted removal of valid name table
entries.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/discover.c
net/tipc/link.c
net/tipc/node.c
net/tipc/node.h