diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-01 00:06:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-01 00:06:50 +0200 |
commit | caacf05e5ad1abf0a2864863da4e33024bc68ec6 (patch) | |
tree | 9a82e97a072e288f604bd3dbbe07e1796581fad0 /drivers/net | |
parent | ipv4: Cache routes in nexthop exception entries. (diff) | |
download | linux-caacf05e5ad1abf0a2864863da4e33024bc68ec6.tar.xz linux-caacf05e5ad1abf0a2864863da4e33024bc68ec6.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions