summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 17:19:07 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 17:19:07 -0800
commit630827338585022b851ec0a6335df8e436c900e4 (patch)
treed40fcd9a94157171f14b481e7571ae255c6aab8f /include/net/netns
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/netns')
-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 @@
#define __NETNS_XFRM_H
#include <linux/list.h>
+#include <linux/workqueue.h>
struct netns_xfrm {
struct list_head state_all;
@@ -18,6 +19,7 @@ struct netns_xfrm {
struct hlist_head *state_byspi;
unsigned int state_hmask;
unsigned int state_num;
+ struct work_struct state_hash_work;
};
#endif