Re: [PATCH net-next v4 08/12] net: vxlan: use kfree_skb_reason() in vxlan_xmit()

From: Simon Horman
Date: Wed Oct 02 2024 - 09:40:07 EST


On Tue, Oct 01, 2024 at 03:32:21PM +0800, Menglong Dong wrote:
> Replace kfree_skb() with kfree_skb_reason() in vxlan_xmit(). Following
> new skb drop reasons are introduced for vxlan:
>
> /* no remote found for xmit */
> SKB_DROP_REASON_VXLAN_NO_REMOTE
> /* txinfo is missed in "external" mode */
> SKB_DROP_REASON_TUNNEL_TXINFO
>
> Signed-off-by: Menglong Dong <dongml2@xxxxxxxxxxxxxxx>
> ---
> v2:
> - move the drop reason "TXINFO" from vxlan to core
> - rename VXLAN_DROP_REMOTE to VXLAN_DROP_NO_REMOTE

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>