From: Arnaldo Carvalho de Melo Date: Tue, 20 Mar 2007 14:52:34 +0000 (-0300) Subject: [ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb X-Git-Tag: v2.6.22-rc1~1128^2~248 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2adc9866742e7904f0268824edc53c948741415;p=linux-2.6 [ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 20f2a3a826..057efbc55d 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -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; }