From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [IPSEC]: Fix double free on skb on async output Date: Sun, 30 Dec 2007 21:10:54 -0800 (PST) Message-ID: <20071230.211054.162970990.davem@davemloft.net> References: <20071230123603.GA24629@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: herbert@gondor.apana.org.au Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:48903 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750974AbXLaFKz (ORCPT ); Mon, 31 Dec 2007 00:10:55 -0500 In-Reply-To: <20071230123603.GA24629@gondor.apana.org.au> Sender: netdev-owner@vger.kernel.org List-ID: From: Herbert Xu Date: Sun, 30 Dec 2007 23:36:04 +1100 > [IPSEC]: Fix double free on skb on async output > > When the output transform returns EINPROGRESS due to async operation we'll > free the skb the straight away as if it were an error. This patch fixes > that so that the skb is freed when the async operation completes. > > Signed-off-by: Herbert Xu Applied.