aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 20:18:12 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 20:18:12 -0500
commit529983ecabeae3d8e61c9e27079154b1b8544dcd (patch)
treeeb440806ba098ed3abf629bcb57c53e5a61e7b17 /include/net
parentb754a4fd8f58d245c9b5e92914cce09c4309cb67 (diff)
netns xfrm: per-netns xfrm_state_hmask
Since hashtables are per-netns, they can be independently resized. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-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 b05ca3f366aa..dbbc0e972273 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -16,6 +16,7 @@ struct netns_xfrm {
16 struct hlist_head *state_bydst; 16 struct hlist_head *state_bydst;
17 struct hlist_head *state_bysrc; 17 struct hlist_head *state_bysrc;
18 struct hlist_head *state_byspi; 18 struct hlist_head *state_byspi;
19 unsigned int state_hmask;
19}; 20};
20 21
21#endif 22#endif