Skip to content
Commit 053c9e18 authored by Wenliang Wang's avatar Wenliang Wang Committed by David S. Miller
Browse files

virtio_net: fix rx_drops stat for small pkts



We found the stat of rx drops for small pkts does not increment when
build_skb fail, it's not coherent with other mode's rx drops stat.

Signed-off-by: default avatarWenliang Wang <wangwenliang.1995@bytedance.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e08cdf63
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