[ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
6b88dd966b
commit
f2adc98667
|
@ -1839,7 +1839,6 @@ push_rx_skb(struct idt77252_dev *card, struct sk_buff *skb, int queue)
|
||||||
skb_put(skb, SAR_FB_SIZE_3);
|
skb_put(skb, SAR_FB_SIZE_3);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dev_kfree_skb(skb);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue