From: Daniel Lezcano Date: Tue, 4 Mar 2008 07:33:08 +0000 (-0800) Subject: [NETNS][IPV6] fib6_rules - handle several network namespaces X-Git-Tag: v2.6.26-rc1~1138^2~501 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcabb819a6eced95ef531b001e663d0d592c8d9f;p=pandora-kernel.git [NETNS][IPV6] fib6_rules - handle several network namespaces The fib6_rules_ops is moved to the network namespace structure. All references are changed to have it relatively to it. Each time a network namespace is created a new fib6_rules_ops is allocated, initialized and stored into the network namespace structure. The common part of the fib rules is namespace aware, so it is quite easy to retrieve the network namespace from the rules and use it in the different callbacks. Signed-off-by: Daniel Lezcano Signed-off-by: Benjamin Thery Signed-off-by: David S. Miller --- Reading git-diff-tree failed