Eric W. Biederman e9c5158ac2 net: Allow fib_rule_unregister to batch
Refactor the code so fib_rules_register always takes a template instead
of the actual fib_rules_ops structure that will be used.  This is
required for network namespace support so 2 out of the 3 callers already
do this, it allows the error handling to be made common, and it allows
fib_rules_unregister to free the template for hte caller.

Modify fib_rules_unregister to use call_rcu instead of syncrhonize_rcu
to allw multiple namespaces to be cleaned up in the same rcu grace
period.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-03 12:22:55 -08:00
..
2009-12-03 12:22:02 -08:00
2008-11-14 00:53:54 -08:00
2009-10-07 01:10:44 -07:00
2009-10-20 01:06:22 -07:00
2008-11-25 17:35:18 -08:00
2009-12-02 19:57:15 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2008-11-18 18:52:37 +11:00
2009-11-20 15:35:04 -08:00