2024-01-19 15:23:12

by Willem de Bruijn

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

Yunjian Wang 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 <[email protected]>

Reviewed-by: Willem de Bruijn <[email protected]>