diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 17:27:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-10 23:39:28 -0700 |
commit | 1e493d1946a0b26b79001c18d7312d536156ff5a (patch) | |
tree | 2cc484a2f2ea5de5b427e6a8a7fa6f7d07ae05bc /drivers/net | |
parent | 08569908fffec3625e29eec7cf7577eaa512e719 (diff) |
ipv6: On interface down/unregister, purge icmp routes too.
Johannes Berg reported that occaisionally, bringing an interface
down or unregistering it would hang for up to 30 seconds. Using
debugging output he provided it became clear that ICMP6 routes
were the culprit.
The problem is that ICMP6 routes live in their own world totally
separate from normal ipv6 routes. So there are all kinds of special
cases throughout the ipv6 code to handle this.
While we should really try to unify all of this stuff somehow,
for the time being let's fix this by purging the ICMP6 routes
that match the device in question during rt6_ifdown().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions