aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 20:19:07 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 20:19:07 -0500
commit630827338585022b851ec0a6335df8e436c900e4 (patch)
treed40fcd9a94157171f14b481e7571ae255c6aab8f /include/net
parent0bf7c5b019518d3fe9cb96b9c97bf44d251472c3 (diff)
netns xfrm: per-netns xfrm_hash_work
All of this is implicit passing which netns's hashes should be 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h
index 492b471d2a7f..bd688021395a 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -2,6 +2,7 @@
2#define __NETNS_XFRM_H 2#define __NETNS_XFRM_H
3 3
4#include <linux/list.h> 4#include <linux/list.h>
5#include <linux/workqueue.h>
5 6
6struct netns_xfrm { 7struct netns_xfrm {
7 struct list_head state_all; 8 struct list_head state_all;
@@ -18,6 +19,7 @@ struct netns_xfrm {
18 struct hlist_head *state_byspi; 19 struct hlist_head *state_byspi;
19 unsigned int state_hmask; 20 unsigned int state_hmask;
20 unsigned int state_num; 21 unsigned int state_num;
22 struct work_struct state_hash_work;
21}; 23};
22 24
23#endif 25#endif