All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] Phonet: fix double free in GPRS outbound packet error path
@ 2009-02-10 14:23 Rémi Denis-Courmont
  2009-02-10 14:23 ` [PATCH net] Phonet: do not compute unused value Rémi Denis-Courmont
  2009-02-11  1:14 ` [PATCH net] Phonet: fix double free in GPRS outbound packet error path David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Rémi Denis-Courmont @ 2009-02-10 14:23 UTC (permalink / raw)
  To: netdev

From: "Remi Denis-Courmont" <remi.denis-courmont@nokia.com>

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
---
 net/phonet/pep-gprs.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/phonet/pep-gprs.c b/net/phonet/pep-gprs.c
index 6a91a32..4aa8885 100644
--- a/net/phonet/pep-gprs.c
+++ b/net/phonet/pep-gprs.c
@@ -207,7 +207,6 @@ static int gprs_xmit(struct sk_buff *skb, struct net_device *dev)
 				dev->name, err);
 		dev->stats.tx_aborted_errors++;
 		dev->stats.tx_errors++;
-		dev_kfree_skb(skb);
 	} else {
 		dev->stats.tx_packets++;
 		dev->stats.tx_bytes += len;
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-11  1:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-10 14:23 [PATCH net] Phonet: fix double free in GPRS outbound packet error path Rémi Denis-Courmont
2009-02-10 14:23 ` [PATCH net] Phonet: do not compute unused value Rémi Denis-Courmont
2009-02-11  1:15   ` David Miller
2009-02-11  1:14 ` [PATCH net] Phonet: fix double free in GPRS outbound packet error path David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.