]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: vxlan: rename SKB_DROP_REASON_VXLAN_NO_REMOTE
authorRadu Rendec <rrendec@redhat.com>
Thu, 19 Dec 2024 16:36:05 +0000 (11:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:58:11 +0000 (18:58 +0200)
commitc1ce8ee5d7c6aadbd1b6d36d7db5d9bcd54aea2a
treedd47b3f8987d064b982e34fd8fe89706210a5f8f
parent6fa0469be9cf5689b493c3b7d090f1ca97695654
net: vxlan: rename SKB_DROP_REASON_VXLAN_NO_REMOTE

[ Upstream commit 46e0ccfb88f02ab2eb20a41d519d6e4c028652f2 ]

The SKB_DROP_REASON_VXLAN_NO_REMOTE skb drop reason was introduced in
the specific context of vxlan. As it turns out, there are similar cases
when a packet needs to be dropped in other parts of the network stack,
such as the bridge module.

Rename SKB_DROP_REASON_VXLAN_NO_REMOTE and give it a more generic name,
so that it can be used in other parts of the network stack. This is not
a functional change, and the numeric value of the drop reason even
remains unchanged.

Signed-off-by: Radu Rendec <rrendec@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20241219163606.717758-2-rrendec@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 1f5d2fd1ca04 ("vxlan: Fix NPD in {arp,neigh}_reduce() when using nexthop objects")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/vxlan/vxlan_core.c
drivers/net/vxlan/vxlan_mdb.c
include/net/dropreason-core.h