ipv4: Flush per-ns routing cache more sanely.
authorDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 05:11:20 +0000 (21:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:37:19 +0000 (10:37 -0800)
commit6561a3b12d62ed5317e6ac32182d87a03f62c8dc
tree2b7318c3532a79dff8912ca4fdcd5d90aa0d8b39
parent782615aea84e57dc7f2f922cea823df3de635a78
ipv4: Flush per-ns routing cache more sanely.

Flush the routing cache only of entries that match the
network namespace in which the purge event occurred.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
include/net/route.h
net/ipv4/fib_frontend.c
net/ipv4/route.c