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 ?
[...]