netns xfrm: per-netns xfrm_policy_byidx hashmask
[safe/jmp/linux-2.6] / include / net / netns / xfrm.h
index 2a383c8..42dc318 100644 (file)
@@ -25,6 +25,10 @@ struct netns_xfrm {
        struct work_struct      state_gc_work;
 
        wait_queue_head_t       km_waitq;
+
+       struct list_head        policy_all;
+       struct hlist_head       *policy_byidx;
+       unsigned int            policy_idx_hmask;
 };
 
 #endif