linux-stable/drivers/net
Toshiaki Makita ecbc42ca5d virtio_net: Fix incosistent received bytes counter
When received packets are dropped in virtio_net driver, received packets
counter is incremented but bytes counter is not.
As a result, for instance if we drop all packets by XDP, only received
is counted and bytes stays 0, which looks inconsistent.
IMHO received packets/bytes should be counted if packets are produced by
the hypervisor, like what common NICs on physical machines are doing.
So fix the bytes counter.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-25 12:58:25 -07:00
..
appletalk
arcnet
bonding bonding: set default miimon value for non-arp modes if not set 2018-07-21 10:26:21 -07:00
caif
can can: xilinx_can: fix power management handling 2018-07-23 14:34:46 +02:00
dsa net: dsa: mv88e6xxx: fix races between lock and irq freeing 2018-07-21 22:42:41 -07:00
ethernet net: axienet: Fix double deregister of mdio 2018-07-24 16:38:01 -07:00
fddi
fjes
hamradio net: hamradio: use eth_broadcast_addr 2018-06-20 07:51:43 +09:00
hippi
hyperv hv_netvsc: Fix napi reschedule while receive completion is busy 2018-07-18 15:23:30 -07:00
ieee802154 net: ieee802154: adf7242: Fix OCL calibration runs 2018-07-09 10:53:12 +02:00
ipvlan ipvlan: call dev_change_flags when ipvlan mode is reset 2018-07-02 20:38:09 +09:00
netdevsim
phy net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv 2018-07-21 16:20:38 -07:00
plip
ppp Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
slip
team
usb qmi_wwan: fix interface number for DW5821e production firmware 2018-07-24 16:37:13 -07:00
vmxnet3
wan
wimax
wireless wireless-drivers fixes for 4.18 2018-07-03 23:29:29 +09:00
xen-netback
dummy.c
eql.c
geneve.c net: fix use-after-free in GRO with ESP 2018-07-02 20:34:04 +09:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c net: net_failover: fix typo in net_failover_slave_register() 2018-06-20 07:56:44 +09:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: Fix use-after-free on XDP_TX 2018-07-16 13:38:29 -07:00
veth.c
virtio_net.c virtio_net: Fix incosistent received bytes counter 2018-07-25 12:58:25 -07:00
vrf.c
vsockmon.c
vxlan.c vxlan: fix default fdb entry netlink notify ordering during netdev create 2018-07-22 10:52:37 -07:00
xen-netfront.c xen-netfront: Update features after registering netdev 2018-06-22 07:54:54 +09:00