aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-20 10:52:34 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:26:39 -0400
commitf2adc9866742e7904f0268824edc53c948741415 (patch)
tree35a74d7b229740c297f5a576f0f33814fa3cb32a /drivers
parent6b88dd966b42e374dc783c397efc15f5c1458265 (diff)
[ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/atm/idt77252.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 20f2a3a82656..057efbc55d38 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)
1839 skb_put(skb, SAR_FB_SIZE_3); 1839 skb_put(skb, SAR_FB_SIZE_3);
1840 break; 1840 break;
1841 default: 1841 default:
1842 dev_kfree_skb(skb);
1843 return -1; 1842 return -1;
1844 } 1843 }
1845 1844