netns xfrm: per-netns xfrm_state_hmask
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:18:12 +0000 (17:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:18:12 +0000 (17:18 -0800)
commit529983ecabeae3d8e61c9e27079154b1b8544dcd
treeeb440806ba098ed3abf629bcb57c53e5a61e7b17
parentb754a4fd8f58d245c9b5e92914cce09c4309cb67
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>
include/net/netns/xfrm.h
net/xfrm/xfrm_state.c