diff options
author | Yunjian Wang <wangyunjian@huawei.com> | 2024-01-19 18:22:35 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-22 10:58:04 +0000 |
commit | 5744ba05e7c4bff8fec133dd0f9e51ddffba92f5 (patch) | |
tree | 4c286f5e2b30176c43c645e5bb6d5e0d3e4232d4 /drivers/ipack | |
parent | d09486a04f5da0a812c26217213b89a3b1acf836 (diff) |
tun: fix missing dropped counter in tun_xdp_act
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@huawei.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions