Re: [PATCH net-next v4 07/12] net: vxlan: make vxlan_set_mac() return drop reasons
From: Simon Horman
Date: Wed Oct 02 2024 - 09:39:42 EST
On Tue, Oct 01, 2024 at 03:32:20PM +0800, Menglong Dong wrote:
> 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@xxxxxxxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>