Commit 5fd30ee7 authored by Committed by David S. Miller
[NETNS]: Namespacing in the generic fib rules code.
Move static rules_ops & rules_mod_lock to the struct net, register the pernet subsys to init them and enjoy the fact that the core rules infrastructure works in the namespace. Real IPv4 fib rules virtualization requires fib tables support in the namespace and will be done seriously later in the patchset. Acked-by: Benjamin Thery <email@example.com> Acked-by: Daniel Lezcano <firstname.lastname@example.org> Signed-off-by: Denis V. Lunev <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 58 additions and 37 deletions