summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_sysctl.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2017-10-10 20:59:38 -0700
committerSteffen Klassert <steffen.klassert@secunet.com>2017-10-11 10:15:58 +0200
commit10a7ef33679073d13bf1dd05e3f1b7912f999543 (patch)
treee7f34e807961b7197301792b9181e06f46469e1b /net/xfrm/xfrm_sysctl.c
parentc0576e3975084d4699b7bfef578613fb8e1144f6 (diff)
downloadlinux-10a7ef33679073d13bf1dd05e3f1b7912f999543.tar.bz2
ipsec: Fix dst leak in xfrm_bundle_create().
If we cannot find a suitable inner_mode value, we will leak the currently allocated 'xdst'. The fix is to make sure it is linked into the chain before erroring out. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_sysctl.c')
0 files changed, 0 insertions, 0 deletions