ia64/xen-unstable

annotate patches/linux-2.6.16.29/ipv6-no-autoconf.patch @ 12273:b223ba940ed1

PV-on-HVM: Fix PV-on-HVM drivers need maddr.h included for defn of maddr_t.
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author kfraser@localhost.localdomain
date Tue Nov 07 09:29:53 2006 +0000 (2006-11-07)
parents 041be3f6b38e
children
rev   line source
Christian@11540 1 diff -pruN ../orig-linux-2.6.16.29/net/ipv6/addrconf.c ./net/ipv6/addrconf.c
Christian@11540 2 --- ../orig-linux-2.6.16.29/net/ipv6/addrconf.c 2006-09-12 19:02:10.000000000 +0100
Christian@11540 3 +++ ./net/ipv6/addrconf.c 2006-09-19 13:59:11.000000000 +0100
Christian@11540 4 @@ -2471,6 +2471,7 @@ static void addrconf_dad_start(struct in
kaf24@10463 5 spin_lock_bh(&ifp->lock);
kaf24@10463 6
kaf24@10463 7 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) ||
kaf24@10463 8 + !(dev->flags&IFF_MULTICAST) ||
kaf24@10463 9 !(ifp->flags&IFA_F_TENTATIVE)) {
kaf24@10463 10 ifp->flags &= ~IFA_F_TENTATIVE;
kaf24@10463 11 spin_unlock_bh(&ifp->lock);
Christian@11540 12 @@ -2555,6 +2556,7 @@ static void addrconf_dad_completed(struc
kaf24@10463 13 if (ifp->idev->cnf.forwarding == 0 &&
kaf24@10463 14 ifp->idev->cnf.rtr_solicits > 0 &&
kaf24@10463 15 (dev->flags&IFF_LOOPBACK) == 0 &&
kaf24@10463 16 + (dev->flags & IFF_MULTICAST) &&
kaf24@10463 17 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
kaf24@10463 18 struct in6_addr all_routers;
kaf24@10463 19