Commit 1ead836b authored by Timo Teras's avatar Timo Teras Committed by Greg Kroah-Hartman
Browse files

af_key: Free dumping state on socket close



[ Upstream commit 05238204 ]

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

Signed-off-by: default avatarTimo Teras <timo.teras@iki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 400f9f32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment