summaryrefslogtreecommitdiffstats
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2008-11-26 02:22:58 +0100
committerDavid S. Miller2008-11-26 02:22:58 +0100
commit8100bea7d619e8496ad8e545d1b41f536e076cd5 (patch)
treef0f6163bcfec148cb32941bea908737486896bc0 /include/net/netns/xfrm.h
parentnetns xfrm: per-netns xfrm_policy_byidx hash (diff)
downloadkernel-qcow2-linux-8100bea7d619e8496ad8e545d1b41f536e076cd5.tar.gz
kernel-qcow2-linux-8100bea7d619e8496ad8e545d1b41f536e076cd5.tar.xz
kernel-qcow2-linux-8100bea7d619e8496ad8e545d1b41f536e076cd5.zip
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/net/netns/xfrm.h')
-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 5cd7d06c692b..42dc318fe3de 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