Thread (2 messages) flat view 2 messages, 2 authors, 2022-02-25

Re: [PATCH net-next 1/3] net: ip: add skb drop reasons for ip egress path

From: Roman Mashak <hidden>
Date: 2022-02-25 13:42:00
Also in: lkml

Menglong Dong [off-list ref] writes:
On Tue, Feb 22, 2022 at 11:13 AM David Ahern [off-list ref] wrote:
quoted
On 2/20/22 8:57 AM, menglong8.dong@gmail.com wrote:
quoted
From: Menglong Dong <redacted>

Replace kfree_skb() with kfree_skb_reason() in the packet egress path of
IP layer (both IPv4 and IPv6 are considered).

Following functions are involved:

__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
Is this a typo and should be SKB_DROP_REASON_IPV6DISABLED ?

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help