]> err.no Git - linux-2.6/commit
[PPP] pppoe: Fix double-free on skb after transmit failure
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 Sep 2007 17:45:02 +0000 (10:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 20 Sep 2007 19:14:16 +0000 (12:14 -0700)
commit21d0c83302fb742b7ffb6089d40196166102f5ed
treeb11439340d1bb097867b57589fc4b6ce2f371a6a
parent5588b40d7c2bff75ee573ed42d1738c73ce24492
[PPP] pppoe: Fix double-free on skb after transmit failure

When I got rid of the second packet in __pppoe_xmit I created
a double-free on the skb because of the goto abort on failure.
This patch removes that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c