提交 f2adc986 编写于 作者: A Arnaldo Carvalho de Melo 提交者: David S. Miller

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

Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 6b88dd96
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册