summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 17:22:58 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 17:22:58 -0800
commit8100bea7d619e8496ad8e545d1b41f536e076cd5 (patch)
treef0f6163bcfec148cb32941bea908737486896bc0 /include
parent93b851c1c93c7d5cd8d94cd3f3a268b2d5460e9e (diff)
downloadop-kernel-dev-8100bea7d619e8496ad8e545d1b41f536e076cd5.zip
op-kernel-dev-8100bea7d619e8496ad8e545d1b41f536e076cd5.tar.gz
netns xfrm: per-netns xfrm_policy_byidx hashmask
Per-netns hashes are independently resizeable. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/xfrm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h
index 5cd7d06..42dc318 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -28,6 +28,7 @@ struct netns_xfrm {
struct list_head policy_all;
struct hlist_head *policy_byidx;
+ unsigned int policy_idx_hmask;
};
#endif
OpenPOWER on IntegriCloud