[lkml]   [2007]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[ review 07/58] Fix ipv6 link down handling.
    [IPV6]: Call inet6addr_chain notifiers on link down

    Currently if the link is brought down via ip link or ifconfig down,
    the inet6addr_chain notifiers are not called even though all
    the addresses are removed from the interface. This caused SCTP
    to add duplicate addresses to it's list.

    Signed-off-by: Vlad Yasevich <>
    Signed-off-by: David S. Miller <>
    Signed-off-by: Greg Kroah-Hartman <>
    Signed-off-by: Willy Tarreau <>
    net/ipv6/addrconf.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
    index e383ac8..0d21d96 100644
    --- a/net/ipv6/addrconf.c
    +++ b/net/ipv6/addrconf.c
    @@ -2451,6 +2451,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)

    __ipv6_ifa_notify(RTM_DELADDR, ifa);
    + atomic_notifier_call_chain(&inet6addr_chain, NETDEV_DOWN, ifa);

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-08-22 10:57    [W:0.019 / U:12.616 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site