[IPSEC]: Fix double free on skb on async output
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 31 Dec 2007 05:09:38 +0000 (21:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:09 +0000 (15:00 -0800)
commitfcb8c156c8277ee9d71c8c81587d494c9c5240b3
tree49ee171a80205f7c8d9cd9ae4e02955b547d11e6
parent15ca36fb994923b454df44e5d7aa14b84ce5aee4
[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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_output.c