direct-io.hg

view patches/linux-2.6.16.33/ipv6-no-autoconf.patch @ 12592:6c2c7ff6265a

[LINUX] Update to 2.6.16.33.

No changes required to sparse tree or patches directory.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Nov 28 15:25:26 2006 +0000 (2006-11-28)
parents
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;