Commit f2adc986 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by David S. Miller

[ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb

Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 6b88dd96
...@@ -1839,7 +1839,6 @@ push_rx_skb(struct idt77252_dev *card, struct sk_buff *skb, int queue) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment