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>
This commit is contained in:
committed by
David S. Miller
parent
b754a4fd8f
commit
529983ecab
@@ -16,6 +16,7 @@ struct netns_xfrm {
|
||||
struct hlist_head *state_bydst;
|
||||
struct hlist_head *state_bysrc;
|
||||
struct hlist_head *state_byspi;
|
||||
unsigned int state_hmask;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user