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>
This commit is contained in:
Alexey Dobriyan
2008-11-25 17:19:07 -08:00
committed by David S. Miller
parent 0bf7c5b019
commit 6308273385
2 changed files with 19 additions and 18 deletions

View File

@@ -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