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-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2008-10-29 12:52:50 -07:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2009-10-20 18:55:45 -07:00
2009-09-02 18:05:33 -07:00
2009-09-14 17:03:05 -07:00
2009-10-07 14:50:30 -07:00
2009-06-03 02:51:04 -07:00
2009-08-05 10:42:58 -07:00
2009-09-14 17:03:05 -07:00
2009-11-25 15:14:13 -08:00
2009-09-14 17:03:05 -07:00
2009-11-10 20:54:44 -08:00
2008-11-25 17:59:52 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-10-24 06:07:57 -07:00