summaryrefslogtreecommitdiffstats
path: root/drivers/atm/idt77252.c
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/idt77252.c
parent6b88dd966b42e374dc783c397efc15f5c1458265 (diff)
downloadlinux-f2adc9866742e7904f0268824edc53c948741415.tar.bz2
[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/idt77252.c')
-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)
skb_put(skb, SAR_FB_SIZE_3);
break;
default:
- dev_kfree_skb(skb);
return -1;
}