[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZwV0cjdg2x67URMx@debian>
Date: Tue, 8 Oct 2024 20:05:38 +0200
From: Guillaume Nault <gnault@...hat.com>
To: Menglong Dong <menglong8.dong@...il.com>
Cc: idosch@...dia.com, kuba@...nel.org, aleksander.lobakin@...el.com,
horms@...nel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, dsahern@...nel.org, dongml2@...natelecom.cn,
amcohen@...dia.com, bpoirier@...dia.com, b.galvani@...il.com,
razor@...ckwall.org, petrm@...dia.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v6 08/12] net: vxlan: use kfree_skb_reason() in
vxlan_xmit()
On Tue, Oct 08, 2024 at 10:22:56PM +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
> /* packet without necessary metadata reached a device which is in
> * "eternal" mode
That should be "external" mode (with an "x").
> + /**
> + * @SKB_DROP_REASON_TUNNEL_TXINFO: packet without necessary metadata
> + * reached a device which is in "eternal" mode.
Here too.
> + */
> + SKB_DROP_REASON_TUNNEL_TXINFO,
> /**
> * @SKB_DROP_REASON_LOCAL_MAC: the source MAC address is equal to
> * the MAC address of the local netdev.
> --
> 2.39.5
>
Powered by blists - more mailing lists