direct-io.hg

view 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
line source
1 diff -pruN ../orig-linux-2.6.16.29/net/ipv6/addrconf.c ./net/ipv6/addrconf.c
2 --- ../orig-linux-2.6.16.29/net/ipv6/addrconf.c 2006-09-12 19:02:10.000000000 +0100
3 +++ ./net/ipv6/addrconf.c 2006-09-19 13:59:11.000000000 +0100
4 @@ -2471,6 +2471,7 @@ static void addrconf_dad_start(struct in
5 spin_lock_bh(&ifp->lock);
7 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) ||
8 + !(dev->flags&IFF_MULTICAST) ||
9 !(ifp->flags&IFA_F_TENTATIVE)) {
10 ifp->flags &= ~IFA_F_TENTATIVE;
11 spin_unlock_bh(&ifp->lock);
12 @@ -2555,6 +2556,7 @@ static void addrconf_dad_completed(struc
13 if (ifp->idev->cnf.forwarding == 0 &&
14 ifp->idev->cnf.rtr_solicits > 0 &&
15 (dev->flags&IFF_LOOPBACK) == 0 &&
16 + (dev->flags & IFF_MULTICAST) &&
17 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
18 struct in6_addr all_routers;