summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2018-01-10 09:33:26 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2018-01-10 09:45:11 +0100
commit1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae (patch)
tree511cdfd2168fbdd9c5ab32573fca8c4e9299fc45 /net/xfrm
parent374d1b5a81f7f9cc5e7f095ac3d5aff3f6600376 (diff)
downloadlinux-1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae.tar.gz
linux-1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae.tar.bz2
linux-1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae.zip
af_key: Fix memory leak in key_notify_policy.
We leak the allocated out_skb in case pfkey_xfrm_policy2msg() fails. Fix this by freeing it on error. Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions