]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS][IPV6] ip6_fib - gc timer per namespace
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 07:31:11 +0000 (23:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:31:11 +0000 (23:31 -0800)
commit8e7b681e9ae88b50e2fb632da631db162a4e72da
tree2b6546f2ebd5b3fa6d48bfd7ca4085d0f96e771f
parent5af50b229518fc355dfccad7d3fb00ed35502906
[NETNS][IPV6] ip6_fib - gc timer per namespace

Move the timer initialization at the network namespace creation and
store the network namespace in the timer argument.

That enables multiple timers (one per network namespace) to do garbage
collecting.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
include/net/netns/ipv6.h
net/ipv6/ip6_fib.c
net/ipv6/route.c