diff options
Diffstat (limited to 'include/net/netns/xfrm.h')
-rw-r--r-- | include/net/netns/xfrm.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 1006a265beb3..3492434baf88 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/workqueue.h> | 6 | #include <linux/workqueue.h> |
7 | #include <linux/xfrm.h> | 7 | #include <linux/xfrm.h> |
8 | #include <net/dst_ops.h> | 8 | #include <net/dst_ops.h> |
9 | #include <net/flowcache.h> | ||
9 | 10 | ||
10 | struct ctl_table_header; | 11 | struct ctl_table_header; |
11 | 12 | ||
@@ -58,9 +59,17 @@ struct netns_xfrm { | |||
58 | struct dst_ops xfrm6_dst_ops; | 59 | struct dst_ops xfrm6_dst_ops; |
59 | #endif | 60 | #endif |
60 | spinlock_t xfrm_state_lock; | 61 | spinlock_t xfrm_state_lock; |
61 | spinlock_t xfrm_policy_sk_bundle_lock; | ||
62 | rwlock_t xfrm_policy_lock; | 62 | rwlock_t xfrm_policy_lock; |
63 | struct mutex xfrm_cfg_mutex; | 63 | struct mutex xfrm_cfg_mutex; |
64 | |||
65 | /* flow cache part */ | ||
66 | struct flow_cache flow_cache_global; | ||
67 | atomic_t flow_cache_genid; | ||
68 | struct list_head flow_cache_gc_list; | ||
69 | spinlock_t flow_cache_gc_lock; | ||
70 | struct work_struct flow_cache_gc_work; | ||
71 | struct work_struct flow_cache_flush_work; | ||
72 | struct mutex flow_flush_sem; | ||
64 | }; | 73 | }; |
65 | 74 | ||
66 | #endif | 75 | #endif |