Thread (35 messages) 35 messages, 4 authors, 2024-10-06

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

From: Simon Horman <horms@kernel.org>
Date: 2024-10-02 13:38:43
Also in: lkml

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 <redacted>
---
v2:
- move the drop reason "TXINFO" from vxlan to core
- rename VXLAN_DROP_REMOTE to VXLAN_DROP_NO_REMOTE
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help