lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 22 Jan 2024 11:40:37 +0800
From: Jason Wang <jasowang@...hat.com>
To: Yunjian Wang <wangyunjian@...wei.com>
Cc: willemdebruijn.kernel@...il.com, kuba@...nel.org, davem@...emloft.net, 
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org, xudingke@...wei.com
Subject: Re: [PATCH net 2/2] tun: add missing rx stats accounting in tun_xdp_act

On Fri, Jan 19, 2024 at 6:23 PM Yunjian Wang <wangyunjian@...wei.com> wrote:
>
> The TUN can be used as vhost-net backend, and it is necessary to
> count the packets transmitted from TUN to vhost-net/virtio-net.
> However, there are some places in the receive path that were not
> taken into account when using XDP. It would be beneficial to also
> include new accounting for successfully received bytes using
> dev_sw_netstats_rx_add.
>
> Fixes: 761876c857cb ("tap: XDP support")
> Signed-off-by: Yunjian Wang <wangyunjian@...wei.com>

Acked-by: Jason Wang <jasowang@...hat.com>

Thanks


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ