diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-03-03 08:19:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-04 00:39:34 -0800 |
commit | 8f37ada5b5f6bfb4d251a7f510f249cb855b77b3 (patch) | |
tree | 8f39575febf0319570798117f8738f5127084634 /net/ipv6/inet6_hashtables.c | |
parent | 84e8b803f1e16f3a2b8b80f80a63fa2f2f8a9be6 (diff) | |
download | talos-op-linux-8f37ada5b5f6bfb4d251a7f510f249cb855b77b3.tar.gz talos-op-linux-8f37ada5b5f6bfb4d251a7f510f249cb855b77b3.zip |
IPv6: fix race between cleanup and add/delete address
This solves a potential race problem during the cleanup process.
The issue is that addrconf_ifdown() needs to traverse address list,
but then drop lock to call the notifier. The version in -next
could get confused if add/delete happened during this window.
Original code (2.6.32 and earlier) was okay because all addresses
were always deleted.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_hashtables.c')
0 files changed, 0 insertions, 0 deletions