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
..
2010-02-08 11:17:43 -08:00
2007-07-31 02:28:21 -07:00
2009-12-08 07:55:01 -08:00
2008-10-29 12:52:50 -07:00
2009-11-05 22:18:18 -08:00
2009-11-25 15:48:41 -08:00
2009-11-13 20:38:49 -08:00
2009-11-02 03:42:41 -08:00
2009-11-25 15:48:41 -08:00
2007-02-10 23:19:42 -08:00
2010-01-13 17:27:37 -08:00
2009-12-03 12:22:55 -08:00
2009-11-12 02:05:06 -08:00
2009-10-20 18:55:45 -07:00
2009-12-08 20:17:51 -08:00
2009-07-30 18:52:15 -07:00
2009-11-25 15:14:13 -08:00
2009-09-14 17:03:05 -07:00
2010-01-06 20:37:01 -08:00
2009-12-01 16:15:59 -08:00
2009-10-29 01:13:53 -07:00
2010-02-16 14:53:24 -08:00
2009-10-27 01:03:26 -07:00
2009-10-07 14:50:30 -07:00
2008-04-05 22:33:38 +09:00
2009-11-13 20:38:49 -08:00
2009-06-23 04:31:07 -07:00
2009-12-08 07:55:01 -08:00
2009-06-03 02:51:04 -07:00
2009-08-05 10:42:58 -07:00
2009-09-14 17:03:05 -07:00
2009-11-08 00:43:18 -08:00
2009-12-18 20:25:13 -08:00
2009-12-18 20:11:03 -08:00
2009-12-01 16:15:59 -08:00
2009-12-15 20:56:42 -08:00
2009-11-12 02:05:06 -08:00
2009-12-15 20:56:42 -08:00
2009-09-14 17:03:05 -07:00
2009-09-30 16:12:20 -07:00
2009-11-10 20:54:44 -08:00
2009-11-05 21:40:17 -08:00
2008-11-25 17:59:52 -08:00
2008-08-06 02:40:25 -07:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-01-24 22:47:53 -08:00
2009-02-21 23:37:10 -08:00
2009-10-24 06:07:57 -07:00