summaryrefslogtreecommitdiff
path: root/net/smc/smc_cdc.c
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2019-01-31 14:40:30 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-04 07:14:28 +0300
commit546f28974d771b124fb0bf7b551b343888cf0419 (patch)
treebb65f0c2802f31bd7fe72dae88736e3fc09f2df9 /net/smc/smc_cdc.c
parentcfe4bd7a257f6d6f81d3458d8c9d9ec4957539e6 (diff)
downloadlinux-546f28974d771b124fb0bf7b551b343888cf0419.tar.xz
virtio_net: Account for tx bytes and packets on sending xdp_frames
Previously virtnet_xdp_xmit() did not account for device tx counters, which caused confusions. To be consistent with SKBs, account them on freeing xdp_frames. Reported-by: David Ahern <dsahern@gmail.com> Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_cdc.c')
0 files changed, 0 insertions, 0 deletions