summaryrefslogtreecommitdiffstats
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
parent6b88dd966b42e374dc783c397efc15f5c1458265 (diff)
downloadop-kernel-dev-f2adc9866742e7904f0268824edc53c948741415.zip
op-kernel-dev-f2adc9866742e7904f0268824edc53c948741415.tar.gz
[ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-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 20f2a3a..057efbc 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;
}
OpenPOWER on IntegriCloud