netns xfrm: flush SA/SPDs on netns stop
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:57:44 +0000 (17:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:57:44 +0000 (17:57 -0800)
commit7c2776ee21a60e0d370538bd08b9ed82979f6e3a
treec8b9757f6989216c00b5ca9e09ee074662fff586
parentfbda33b2b85941c1ae3a0d89522dec5c1b1bd98c
netns xfrm: flush SA/SPDs on netns stop

SA/SPD doesn't pin netns (and it shouldn't), so get rid of them by hand.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c