ia64/xen-unstable
annotate patches/linux-2.6.16.13/ipv6-no-autoconf.patch @ 11154:bb37d167c82e
[XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Tue Aug 15 19:04:43 2006 +0100 (2006-08-15) |
parents | c6f8fcca0282 |
children |
rev | line source |
---|---|
kaf24@10463 | 1 net/ipv6/addrconf.c | 2 ++ |
kaf24@10463 | 2 1 files changed, 2 insertions(+) |
kaf24@10463 | 3 |
kaf24@10463 | 4 Index: build/net/ipv6/addrconf.c |
kaf24@10463 | 5 =================================================================== |
kaf24@10463 | 6 --- build.orig/net/ipv6/addrconf.c |
kaf24@10463 | 7 +++ build/net/ipv6/addrconf.c |
kaf24@10463 | 8 @@ -2462,6 +2462,7 @@ static void addrconf_dad_start(struct in |
kaf24@10463 | 9 spin_lock_bh(&ifp->lock); |
kaf24@10463 | 10 |
kaf24@10463 | 11 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) || |
kaf24@10463 | 12 + !(dev->flags&IFF_MULTICAST) || |
kaf24@10463 | 13 !(ifp->flags&IFA_F_TENTATIVE)) { |
kaf24@10463 | 14 ifp->flags &= ~IFA_F_TENTATIVE; |
kaf24@10463 | 15 spin_unlock_bh(&ifp->lock); |
kaf24@10463 | 16 @@ -2546,6 +2547,7 @@ static void addrconf_dad_completed(struc |
kaf24@10463 | 17 if (ifp->idev->cnf.forwarding == 0 && |
kaf24@10463 | 18 ifp->idev->cnf.rtr_solicits > 0 && |
kaf24@10463 | 19 (dev->flags&IFF_LOOPBACK) == 0 && |
kaf24@10463 | 20 + (dev->flags & IFF_MULTICAST) && |
kaf24@10463 | 21 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) { |
kaf24@10463 | 22 struct in6_addr all_routers; |
kaf24@10463 | 23 |