|
@@ -3268,7 +3268,7 @@ static int ucc_geth_rx(struct ucc_geth_private *ugeth, u8 rxQ, int rx_work_limit
|
|
|
if (netif_msg_rx_err(ugeth))
|
|
if (netif_msg_rx_err(ugeth))
|
|
|
ugeth_err("%s, %d: ERROR!!! skb - 0x%08x",
|
|
ugeth_err("%s, %d: ERROR!!! skb - 0x%08x",
|
|
|
__func__, __LINE__, (u32) skb);
|
|
__func__, __LINE__, (u32) skb);
|
|
|
- dev_free_skb(skb);
|
|
|
|
|
|
|
+ dev_kfree_skb(skb);
|
|
|
|
|
|
|
|
ugeth->rx_skbuff[rxQ][ugeth->skb_currx[rxQ]] = NULL;
|
|
ugeth->rx_skbuff[rxQ][ugeth->skb_currx[rxQ]] = NULL;
|
|
|
dev->stats.rx_dropped++;
|
|
dev->stats.rx_dropped++;
|