net: vxlan: replace VXLAN_INVALID_HDR with VNI_NOT_FOUND
authorMenglong Dong <menglong8.dong@gmail.com>
Tue, 15 Oct 2024 08:28:30 +0000 (16:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2024 12:15:28 +0000 (13:15 +0100)
commiteb4f99c56ad30cb0f8c8e93a78b1200f5987e41e
tree2bddf92321f8427f80de2e941065320403361357
parent30d9d8f6a2d7e44a9f91737dd409dbc87ac6f6b7
net: vxlan: replace VXLAN_INVALID_HDR with VNI_NOT_FOUND

Replace the drop reason "SKB_DROP_REASON_VXLAN_INVALID_HDR" with
"SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND" in encap_bypass_if_local(), as the
latter is more accurate.

Fixes: 790961d88b0e ("net: vxlan: use kfree_skb_reason() in encap_bypass_if_local()")
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c