ia64/xen-unstable

view 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>
author kfraser@localhost.localdomain
date Tue Aug 15 19:04:43 2006 +0100 (2006-08-15)
parents c6f8fcca0282
children
line source
1 net/ipv6/addrconf.c | 2 ++
2 1 files changed, 2 insertions(+)
4 Index: build/net/ipv6/addrconf.c
5 ===================================================================
6 --- build.orig/net/ipv6/addrconf.c
7 +++ build/net/ipv6/addrconf.c
8 @@ -2462,6 +2462,7 @@ static void addrconf_dad_start(struct in
9 spin_lock_bh(&ifp->lock);
11 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) ||
12 + !(dev->flags&IFF_MULTICAST) ||
13 !(ifp->flags&IFA_F_TENTATIVE)) {
14 ifp->flags &= ~IFA_F_TENTATIVE;
15 spin_unlock_bh(&ifp->lock);
16 @@ -2546,6 +2547,7 @@ static void addrconf_dad_completed(struc
17 if (ifp->idev->cnf.forwarding == 0 &&
18 ifp->idev->cnf.rtr_solicits > 0 &&
19 (dev->flags&IFF_LOOPBACK) == 0 &&
20 + (dev->flags & IFF_MULTICAST) &&
21 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
22 struct in6_addr all_routers;