diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:23:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:23:26 -0500 |
commit | 8b18f8eaf9207d53ba3e69f2b98d7290f4dec227 (patch) | |
tree | b4f323ac9aa6f1956c3ad4398a2230fc7a01d3e4 /include/net | |
parent | 8100bea7d619e8496ad8e545d1b41f536e076cd5 (diff) |
netns xfrm: per-netns inexact policies
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netns/xfrm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 42dc318fe3de..c7568315f16c 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <linux/list.h> | 4 | #include <linux/list.h> |
5 | #include <linux/wait.h> | 5 | #include <linux/wait.h> |
6 | #include <linux/workqueue.h> | 6 | #include <linux/workqueue.h> |
7 | #include <linux/xfrm.h> | ||
7 | 8 | ||
8 | struct netns_xfrm { | 9 | struct netns_xfrm { |
9 | struct list_head state_all; | 10 | struct list_head state_all; |
@@ -29,6 +30,7 @@ struct netns_xfrm { | |||
29 | struct list_head policy_all; | 30 | struct list_head policy_all; |
30 | struct hlist_head *policy_byidx; | 31 | struct hlist_head *policy_byidx; |
31 | unsigned int policy_idx_hmask; | 32 | unsigned int policy_idx_hmask; |
33 | struct hlist_head policy_inexact[XFRM_POLICY_MAX * 2]; | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | #endif | 36 | #endif |