direct-io.hg

annotate patches/linux-2.6.16.33/ipv6-no-autoconf.patch @ 12988:e080700efa56

[TOOLS] Fix the build. Clearly demarcate PPC-specific stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Dec 13 10:23:53 2006 +0000 (2006-12-13)
parents 6c2c7ff6265a
children
rev   line source
ian@12592 1 diff -pruN ../orig-linux-2.6.16.29/net/ipv6/addrconf.c ./net/ipv6/addrconf.c
ian@12592 2 --- ../orig-linux-2.6.16.29/net/ipv6/addrconf.c 2006-09-12 19:02:10.000000000 +0100
ian@12592 3 +++ ./net/ipv6/addrconf.c 2006-09-19 13:59:11.000000000 +0100
ian@12592 4 @@ -2471,6 +2471,7 @@ static void addrconf_dad_start(struct in
ian@12592 5 spin_lock_bh(&ifp->lock);
ian@12592 6
ian@12592 7 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) ||
ian@12592 8 + !(dev->flags&IFF_MULTICAST) ||
ian@12592 9 !(ifp->flags&IFA_F_TENTATIVE)) {
ian@12592 10 ifp->flags &= ~IFA_F_TENTATIVE;
ian@12592 11 spin_unlock_bh(&ifp->lock);
ian@12592 12 @@ -2555,6 +2556,7 @@ static void addrconf_dad_completed(struc
ian@12592 13 if (ifp->idev->cnf.forwarding == 0 &&
ian@12592 14 ifp->idev->cnf.rtr_solicits > 0 &&
ian@12592 15 (dev->flags&IFF_LOOPBACK) == 0 &&
ian@12592 16 + (dev->flags & IFF_MULTICAST) &&
ian@12592 17 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
ian@12592 18 struct in6_addr all_routers;
ian@12592 19