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:

committed by
David S. Miller

parent
0bf7c5b019
commit
6308273385
@@ -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
|
||||
|
Reference in New Issue
Block a user