On Fri, Nov 10, 2023 at 3:31 AM Eric Dumazet [off-list ref] wrote:
it is time we replace the various constructs which do not help readability:
if (something)
consume_skb(skb);
else
kfree_skb_reason(skb, drop_reason);
By:
kfree_skb_reason(skb, drop_reason);
(By using drop_reason == SKB_CONSUMED when appropriate)
Will send a V2 when net-next reopens