Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 243661 Details for
Bug 333293
kernel >= 2.6.34.2: can't shutdown iface with IPv6 addresses
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ipv6-keep-route-for-tentative-address.patch
ipv6-keep-route-for-tentative-address.patch (text/plain), 1.32 KB, created by
Martin Volf
on 2010-08-20 04:57:22 UTC
(
hide
)
Description:
ipv6-keep-route-for-tentative-address.patch
Filename:
MIME Type:
Creator:
Martin Volf
Created:
2010-08-20 04:57:22 UTC
Size:
1.32 KB
patch
obsolete
>From shemminger@vyatta.com Tue Jul 27 16:56:59 2010 >From: Stephen Hemminger <shemminger@vyatta.com> >Date: Mon, 24 May 2010 11:31:18 -0700 >Subject: IPv6: keep route for tentative address >To: Emil S Tantilov <emils.tantilov@gmail.com> >Cc: NetDev <netdev@vger.kernel.org>, stable@kernel.org, Greg KH <greg@kroah.com>, "David S. Miller" <davem@davemloft.net>, <emil.s.tantilov@intel.com> >Message-ID: <20100524113118.47cc9852@nehalam> > >From: Stephen Hemminger <shemminger@vyatta.com> > >(cherry picked from commit 93fa159abe50d3c55c7f83622d3f5c09b6e06f4b) > >Recent changes preserve IPv6 address when link goes down (good). >But would cause address to point to dead dst entry (bad). >The simplest fix is to just not delete route if address is >being held for later use. > >Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> >Signed-off-by: David S. Miller <davem@davemloft.net> >Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> > >--- > net/ipv6/addrconf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >--- a/net/ipv6/addrconf.c >+++ b/net/ipv6/addrconf.c >@@ -4047,7 +4047,8 @@ static void __ipv6_ifa_notify(int event, > addrconf_leave_anycast(ifp); > addrconf_leave_solict(ifp->idev, &ifp->addr); > dst_hold(&ifp->rt->u.dst); >- if (ip6_del_rt(ifp->rt)) >+ >+ if (ifp->dead && ip6_del_rt(ifp->rt)) > dst_free(&ifp->rt->u.dst); > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 333293
: 243661