Avoid napi_consume_skb.
This commit is contained in:
parent
12df7a1f4a
commit
39ee16381d
|
|
@ -4607,6 +4607,7 @@ static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp,
|
|||
if (skb) {
|
||||
pkts_compl++;
|
||||
bytes_compl += skb->len;
|
||||
if (!get_ecdev(tp))
|
||||
napi_consume_skb(skb, budget);
|
||||
}
|
||||
dirty_tx++;
|
||||
|
|
|
|||
|
|
@ -4400,6 +4400,7 @@ static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp,
|
|||
if (skb) {
|
||||
pkts_compl++;
|
||||
bytes_compl += skb->len;
|
||||
if (!get_ecdev(tp))
|
||||
napi_consume_skb(skb, budget);
|
||||
}
|
||||
dirty_tx++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue