direct-io.hg

view patches/linux-2.6.16.13/ipv6-no-autoconf.patch @ 11522:1fae74cd3963

[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Thu Sep 14 22:06:15 2006 -0400 (2006-09-14)
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;