Bug 67951

Summary: No reply after loopback down-up
Product: Networking Reporter: Weilong Chen (chenweilong)
Component: IPV6Assignee: Hideaki YOSHIFUJI (yoshfuji)
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, hannes, jirislaby
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.13.0-rc4 Subsystem:
Regression: No Bisected commit-id:

Description Weilong Chen 2013-12-30 12:12:52 UTC
kernel:3.13.0-rc4

I did a test like this:
On host1:
1)ifconfig eth0 add fd00::3
On host2:
1)ifconfig eth0 add fd00::4
2)ping6 fd00::3

Everything went OK.

Then:
On host1:
1)ifconfig lo down;ifconfig lo up
On hsot2:
1)ping6 fd00::3

There was no reply from host1!
Comment 1 hannes 2013-12-31 01:51:24 UTC
Thank you for the report!

This was first fixed with 25fb6ca4ed9cad72f14f61629b68dc03c0d9713f ("net IPv6 : Fix broken IPv6 routing table after loopback down-up") and broken again in a881ae1f625c599b460cc8f8a7fcb1c438f699ad ("ipv6: don't call addrconf_dst_alloc again when enable lo").

You could fix this by adding the local route again:

ip -6 r a local fd00::3 dev lo

I hope I can come up with a fix shortly.
Comment 2 Weilong Chen 2013-12-31 05:56:48 UTC
It works good,thanks!
Comment 3 Alan 2014-01-15 11:34:49 UTC
sorry closed wrong bug number
Comment 4 Weilong Chen 2014-01-26 09:45:40 UTC
fixed
Comment 5 Jiri Slaby 2015-04-07 12:46:43 UTC
33d99113b1102c2d2f8603b9ba72d89d915c13f5