]> err.no Git - linux-2.6/commitdiff
[ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Mar 2007 14:52:34 +0000 (11:52 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:39 +0000 (22:26 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
drivers/atm/idt77252.c

index 20f2a3a82656397c2bbacaf773922e35f3e19859..057efbc55d3829665d76b6e264424a6a4b229db9 100644 (file)
@@ -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;
        }