summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-20 11:52:34 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:26:39 -0700
commitf2adc9866742e7904f0268824edc53c948741415 (patch)
tree35a74d7b229740c297f5a576f0f33814fa3cb32a /drivers/atm
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/atm')
-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 20f2a3a8265..057efbc55d3 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;
}