]> err.no Git - linux-2.6/commit
[NETNS][IPV6] fib6 rule - dynamic allocation of the rules struct ops
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 07:32:30 +0000 (23:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:32:30 +0000 (23:32 -0800)
commiteb5564b8532eec6b49379095df2b979aab85661f
treec74da89d8e937cfdb344fe2f26e0d1d80be5bfb1
parentec7d43c291df9f6e978733f892f7255be89feedb
[NETNS][IPV6] fib6 rule - dynamic allocation of the rules struct ops

The fib6_rules_ops structure is dynamically allocated, so that allows
to make several instances of it per network namespace.

The global static fib6_rules_ops structure is renamed to
fib6_rules_ops_template in order to quickly memcopy it for the
structure initialization.

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/fib6_rules.c