2024-01-22 03:40:45

by Jason Wang

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

On Fri, Jan 19, 2024 at 6:22 PM Yunjian Wang <[email protected]> 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]>

Acked-by: Jason Wang <[email protected]>

Thanks