[lkml]   [2007]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 069/101] Dont add anycast reference to device multiple times
    From: Michal Wrobel <>

    [IPV6]: anycast refcnt fix

    This patch fixes a bug in Linux IPv6 stack which caused anycast address
    to be added to a device prior DAD has been completed. This led to
    incorrect reference count which resulted in infinite wait for
    unregister_netdevice completion on interface removal.

    Signed-off-by: Michal Wrobel <>
    Signed-off-by: David S. Miller <>
    Signed-off-by: Greg Kroah-Hartman <>

    net/ipv6/addrconf.c | 2 ++
    1 file changed, 2 insertions(+)

    --- linux-
    +++ linux-
    @@ -469,6 +469,8 @@ static void dev_forward_change(struct in
    ipv6_dev_mc_dec(dev, &addr);
    for (ifa=idev->addr_list; ifa; ifa=ifa->if_next) {
    + if (ifa->flags&IFA_F_TENTATIVE)
    + continue;
    if (idev->cnf.forwarding)
    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-03-07 18:23    [W:0.022 / U:39.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site