summaryrefslogtreecommitdiff
path: root/include/net/netns
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/net/netns
parent93b851c1c93c7d5cd8d94cd3f3a268b2d5460e9e (diff)
downloadlinux-3.10-8100bea7d619e8496ad8e545d1b41f536e076cd5.tar.gz
linux-3.10-8100bea7d619e8496ad8e545d1b41f536e076cd5.tar.bz2
linux-3.10-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')
-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 5cd7d06c692..42dc318fe3d 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