Herbert Xu 10e7454ed7 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 <adobriyan@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 14:53:24 -08:00
..
2009-10-18 18:52:53 -07:00
2009-12-25 17:30:22 -08:00
2009-11-01 23:55:10 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2009-12-01 16:15:58 -08:00
2008-10-07 08:38:24 +11:00
2009-04-27 02:45:02 -07:00
2009-09-14 17:03:01 -07:00
2010-01-17 19:24:49 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2010-02-10 18:04:08 -08:00
2009-05-25 22:44:59 -07:00
2009-09-14 17:03:01 -07:00
2009-12-13 19:32:39 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00