Re: [PATCH net 1/2] tun: fix missing dropped counter in tun_xdp_act

From: Jason Wang
Date: Sun Jan 21 2024 - 22:40:43 EST


On Fri, Jan 19, 2024 at 6:22 PM Yunjian Wang <wangyunjian@xxxxxxxxxx> wrote:
>
> The commit 8ae1aff0b331 ("tuntap: split out XDP logic") includes
> dropped counter for XDP_DROP, XDP_ABORTED, and invalid XDP actions.
> Unfortunately, that commit missed the dropped counter when error
> occurs during XDP_TX and XDP_REDIRECT actions. This patch fixes
> this issue.
>
> Fixes: 8ae1aff0b331 ("tuntap: split out XDP logic")
> Signed-off-by: Yunjian Wang <wangyunjian@xxxxxxxxxx>

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks