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-05-25 01:53:53 -07:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-07-12 12:22:34 -07:00