mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
virtio_net: be drop monitor friendly
This change is needed to not fool drop monitor. (perf record ... -e skb:kfree_skb ) Packets were properly sent and are consumed after TX completion. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
af57d2b720
commit
dadc0736f7
1 changed files with 1 additions and 1 deletions
|
|
@ -1058,7 +1058,7 @@ static void free_old_xmit_skbs(struct send_queue *sq)
|
|||
bytes += skb->len;
|
||||
packets++;
|
||||
|
||||
dev_kfree_skb_any(skb);
|
||||
dev_consume_skb_any(skb);
|
||||
}
|
||||
|
||||
/* Avoid overhead when no packets have been processed
|
||||
|
|
|
|||
Loading…
Reference in a new issue