Re: [PATCH net-next v7 07/12] net: vxlan: make vxlan_set_mac() return drop reasons
From: Ido Schimmel
Date: Sun Oct 13 2024 - 08:05:15 EST
On Wed, Oct 09, 2024 at 10:28:25AM +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>
Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>