- ipv6-anycast-refcnt-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     IPv6 anycast refcnt fix
has been removed from the -mm tree.  Its filename was
     ipv6-anycast-refcnt-fix.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: IPv6 anycast refcnt fix
From: Michal Wrobel <xmxwx@xxxxxx>

Fix 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 <xmxwx@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN net/ipv6/addrconf.c~ipv6-anycast-refcnt-fix net/ipv6/addrconf.c
--- a/net/ipv6/addrconf.c~ipv6-anycast-refcnt-fix
+++ a/net/ipv6/addrconf.c
@@ -468,6 +468,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)
 			addrconf_join_anycast(ifa);
 		else
_

Patches currently in -mm which might be from xmxwx@xxxxxx are

git-net.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux