Fix lockup introduced by recent changes
Subsystems (2)
PATCH 1/1 Fix lockup introduced by recent changes
[L2TP] Fix double skb free problem introduced by recent changes
This patch is to be applied on top of Herbert's recent patch set:
"[PPP 3/3] L2TP: Fix skb handling in pppol2tp_xmit"
It fixes a double kfree_skb() issue introduced by that patch. Also return 0 on error, allowing PPP to requeue the skb.
drivers/net/pppol2tp.c +3 -4
@@ -1066,11 +1066,10 @@ static int pppol2tp_xmit(struct ppp_chan session->stats.tx_errors++; } -/* Free the original skb */ -abort: -kfree_skb (skb); -return 1 ; + +abort: +return 0 ; }/*****************************************************************************
David Miller
maintainerFrom: James Chapman <[email protected]>
Date: Tue, 18 Sep 2007 22:44:33 +0100
Quoted 9 lines
[L2TP] Fix double skb free problem introduced by recent changes
This patch is to be applied on top of Herbert's recent patch set:
"[PPP 3/3] L2TP: Fix skb handling inpppol2tp_xmit"It fixes a double
kfree_skb()issue introduced by that patch. Also return 0 on error, allowing PPP to requeue the skb.Signed-off-by James Chapman <[email protected]>
Thanks James. I've applied this to net-2.6
Herbert, please take a quick look, thanks.
Quoted 2 lines · David Miller
Herbert, please take a quick look, thanks.
Yep it looks good. I should've read my emails from the bottom up :)
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt