]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
af_key: Free dumping state on socket close
authorTimo Teras <timo.teras@iki.fi>
Wed, 1 Oct 2008 12:17:54 +0000 (05:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 03:23:06 +0000 (20:23 -0700)
commit1ead836b8d0f04dc441f29f0126a6a3b2cb574e6
tree4bcbe15a0834882f2b3bcf1fb0cc0f8da45f2f41
parent400f9f32043fbec8fc8de42fd9b9428b4557b19c
af_key: Free dumping state on socket close

[ Upstream commit 0523820482dcb42784572ffd2296c2f08c275a2b ]

Fix a xfrm_{state,policy}_walk leak if pfkey socket is closed while
dumping is on-going.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c