]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdd6588512f1df524559d202968b1d34d008802be
tree49ee171a80205f7c8d9cd9ae4e02955b547d11e6
parent77245aee6fe5291c36dbde39c30044b971b4026c
[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