Skip to contentSkip to conversation

idt77252: Fix double kfree_skb on failure in push_rx_skb

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Mar 20, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 7/31 idt77252: Fix double kfree_skb on failure in push_rx_skb

---
 drivers/atm/idt77252.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/atm/idt77252.c +0 -1
index 20f2a3a..057efbc 100644
@@ -1839,7 +1839,6 @@ push_rx_skb(struct idt77252_dev *card, struct sk_buff *skb, int queue)
 		skb_put(skb, SAR_FB_SIZE_3);
 		break;
 	default:
-		dev_kfree_skb(skb);
 		return -1;
 	}
 
Signature · 1 line
1.5.0.3