Re: [PATCH net] net: fix NULL dereference in skb realloc fault injection devname filter
From: Haishuang Yan
Date: Fri Oct 02 2026 - 09:48:45 EST
On Thu, Oct 01, 2026 at 10:30, Breno Leitao wrote:
> I think something like this untested approach reads better:
>
> + if (!net)
> + return false;
> +
Thanks for the review, Breno. Agreed, this reads better, and the fault
is meant for skbs on a network device anyway.
I sent v2 with your suggestion and added aV Suggested-by tag:
https://lore.kernel.org/netdev/20261001182813.353004-1-yanhaishuang@xxxxxxxxxxxxxxxxxxxx
Thanks,
Haishuang