]> git.karo-electronics.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2008 12:17:54 +0000 (05:17 -0700)
commit0523820482dcb42784572ffd2296c2f08c275a2b
tree19a31ae7b58a650fd58dab39a391aba3f7e3a23a
parent5dc121e9a7a8a3721cefeb07f3559f50fbedc67e
af_key: Free dumping state on socket close

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