lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 25 Feb 2007 13:04:21 +0100
From:	Michal Wrobel <xmxwx@....pl>
To:	netdev@...r.kernel.org
Subject:  [PATCH] 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 <xmxwx@....pl>

--- linux/net/ipv6/addrconf.c	2007-02-22 19:46:27.000000000 +0100
+++ linux/net/ipv6/addrconf.c	2007-02-25 00:22:37.000000000 +0100
@@ -456,6 +456,8 @@
  			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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ