aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2010-02-15 19:24:30 +0000
committerDavid S. Miller <[email protected]>2010-02-16 22:53:24 +0000
commit10e7454ed7a2da39f1f6255f63d7df27ab4bb67f (patch)
tree467bf2ee42e91914ac679ad871a87ea2ecb3925f /net/lapb/lapb_subr.c
parentethtool: allow non-admin user to read GRO settings. (diff)
downloadkernel-10e7454ed7a2da39f1f6255f63d7df27ab4bb67f.tar.gz
kernel-10e7454ed7a2da39f1f6255f63d7df27ab4bb67f.zip
ipcomp: Avoid duplicate calls to ipcomp_destroy
When ipcomp_tunnel_attach fails we will call ipcomp_destroy twice. This may lead to double-frees on certain structures. As there is no reason to explicitly call ipcomp_destroy, this patch removes it from ipcomp*.c and lets the standard xfrm_state destruction take place. This is based on the discovery and patch by Alexey Dobriyan. Tested-by: Alexey Dobriyan <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions