linux/drivers/net/vxlan
Menglong Dong e89198454f net: vxlan: make vxlan_set_mac() return drop reasons
[ Upstream commit d209706f56 ]

Change the return type of vxlan_set_mac() from bool to enum
skb_drop_reason. In this commit, the drop reason
"SKB_DROP_REASON_LOCAL_MAC" is introduced for the case that the source
mac of the packet is a local mac.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 1f5d2fd1ca ("vxlan: Fix NPD in {arp,neigh}_reduce() when using nexthop objects")
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-09-09 18:58:11 +02:00
..
Makefile vxlan: mdb: Add MDB control path support 2023-03-17 08:05:49 +00:00
vxlan_core.c net: vxlan: make vxlan_set_mac() return drop reasons 2025-09-09 18:58:11 +02:00
vxlan_mdb.c vxlan: mdb: Add MDB bulk deletion support 2023-12-20 11:27:21 +00:00
vxlan_multicast.c vxlan: vni filtering support on collect metadata device 2022-03-01 08:38:02 +00:00
vxlan_private.h vxlan: Fix NPD when refreshing an FDB entry with a nexthop object 2025-09-09 18:58:11 +02:00
vxlan_vnifilter.c vxlan: vnifilter: Fix unlocked deletion of default FDB entry 2025-05-09 09:50:38 +02:00