Commit a318dc62 authored by David S. Miller's avatar David S. Miller

[IPV6]: In ndisc_netdev_event, handle NETDEV_DOWN.

Based upon patches and commentary from Thomas Spatzier,
Stephen Hemminger, and Andi Kleen.
parent b94c444e
......@@ -1403,6 +1403,10 @@ static int ndisc_netdev_event(struct notifier_block *this, unsigned long event,
neigh_changeaddr(&nd_tbl, dev);
fib6_run_gc(0);
break;
case NETDEV_DOWN:
neigh_ifdown(&nd_tbl, dev);
fib6_run_gc(0);
break;
default:
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment