]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b2d2a6755bdaf413b2b624341005d3b74b019f7
tree2b7318c3532a79dff8912ca4fdcd5d90aa0d8b39
parent2f8a317a49198467edbeb5d0b097cf84d0144b2c
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