[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d5be0cf8-0607-5448-e235-183980f8f44a@kernel.org>
Date: Fri, 25 Feb 2022 08:42:51 -0700
From: David Ahern <dsahern@...nel.org>
To: menglong8.dong@...il.com
Cc: rostedt@...dmis.org, mingo@...hat.com, davem@...emloft.net,
kuba@...nel.org, yoshfuji@...ux-ipv6.org, imagedong@...cent.com,
edumazet@...gle.com, alobakin@...me, cong.wang@...edance.com,
paulb@...dia.com, talalahmad@...gle.com, keescook@...omium.org,
ilias.apalodimas@...aro.org, memxor@...il.com,
flyingpeng@...cent.com, mengensun@...cent.com,
daniel@...earbox.net, yajun.deng@...ux.dev, roopa@...dia.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 1/3] net: ip: add skb drop reasons for ip
egress path
On 2/25/22 12:17 AM, menglong8.dong@...il.com wrote:
> From: Menglong Dong <imagedong@...cent.com>
>
> Replace kfree_skb() which is used in the packet egress path of IP layer
> with kfree_skb_reason(). Functions that are involved include:
>
> __ip_queue_xmit()
> ip_finish_output()
> ip_mc_finish_output()
> ip6_output()
> ip6_finish_output()
> ip6_finish_output2()
>
> Following new drop reasons are introduced:
>
> SKB_DROP_REASON_IP_OUTNOROUTES
> SKB_DROP_REASON_BPF_CGROUP_EGRESS
> SKB_DROP_REASON_IPV6DSIABLED
A new version is needed to fix the typo Roman noticed; logic wise:
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists