diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2018-01-10 09:33:26 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-01-10 09:45:11 +0100 |
commit | 1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae (patch) | |
tree | 511cdfd2168fbdd9c5ab32573fca8c4e9299fc45 /net/xfrm | |
parent | 374d1b5a81f7f9cc5e7f095ac3d5aff3f6600376 (diff) | |
download | linux-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