diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-20 19:46:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:08:13 -0500 |
commit | 035923833369e4da5d3c4ad0700bc7c367a0fa37 (patch) | |
tree | 2a7e3105e70a543ff2611ffbe7612b4c93ce3bd5 /include/net/fib_rules.h | |
parent | 853f4b505578ea3a1d9c2f5fb4ca58658ea15780 (diff) |
[FIB]: Add netns to fib_rules_ops.
The backward link from FIB rules operations to the network namespace
will allow to simplify the API a bit.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/fib_rules.h')
-rw-r--r-- | include/net/fib_rules.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 4f472507129e..6910e0195ca5 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h | |||
@@ -67,6 +67,7 @@ struct fib_rules_ops | |||
67 | const struct nla_policy *policy; | 67 | const struct nla_policy *policy; |
68 | struct list_head rules_list; | 68 | struct list_head rules_list; |
69 | struct module *owner; | 69 | struct module *owner; |
70 | struct net *fro_net; | ||
70 | }; | 71 | }; |
71 | 72 | ||
72 | #define FRA_GENERIC_POLICY \ | 73 | #define FRA_GENERIC_POLICY \ |