Skip to content
Commit caacf05e authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Properly purge netdev references on uncached routes.



When a device is unregistered, we have to purge all of the
references to it that may exist in the entire system.

If a route is uncached, we currently have no way of accomplishing
this.

So create a global list that is scanned when a network device goes
down.  This mirrors the logic in net/core/dst.c's dst_ifdown().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5038a83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment