summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorIlan Tayari <ilant@mellanox.com>2016-09-18 09:42:53 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2016-09-19 12:08:58 +0200
commitb588479358ce26f32138e0f0a7ab0678f8e3e601 (patch)
treedbf7ad4ec9e4c8968d6119cfd8433821248a40ab /README
parentvti: use right inner_mode for inbound inter address family policy checks (diff)
downloadlinux-b588479358ce26f32138e0f0a7ab0678f8e3e601.tar.xz
linux-b588479358ce26f32138e0f0a7ab0678f8e3e601.zip
xfrm: Fix memory leak of aead algorithm name
commit 1a6509d99122 ("[IPSEC]: Add support for combined mode algorithms") introduced aead. The function attach_aead kmemdup()s the algorithm name during xfrm_state_construct(). However this memory is never freed. Implementation has since been slightly modified in commit ee5c23176fcc ("xfrm: Clone states properly on migration") without resolving this leak. This patch adds a kfree() call for the aead algorithm name. Fixes: 1a6509d99122 ("[IPSEC]: Add support for combined mode algorithms") Signed-off-by: Ilan Tayari <ilant@mellanox.com> Acked-by: Rami Rosen <roszenrami@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions