]> err.no Git - linux-2.6/commit
[NETNS][IPV6] ip6_fib - dynamically allocate gc-timer
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 07:29:33 +0000 (23:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:29:33 +0000 (23:29 -0800)
commit450d19f8ab35fad4ef2b129cb383a5b8d1326611
tree23810e8970b9ad009ef9b52cc2082808ecb57951
parent5b7c931dff03621ae7ac524c4fa280d4e5f187a4
[NETNS][IPV6] ip6_fib - dynamically allocate gc-timer

The ip6_fib_timer gc timer is dynamically allocated and initialized in
the ip6 fib init function. There are no more references to a static
global variable. That will allow to make multiple instance of the
garbage collecting timer and make them per namespace.

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>
net/ipv6/ip6_fib.c