Re: [PATCH net v2 1/3] net: lantiq_xrx200: confirm skb is allocated before using

From: Jakub Kicinski
Date: Tue Aug 16 2022 - 23:42:09 EST


On Mon, 15 Aug 2022 16:57:38 +0200 Aleksander Jan Bajkowski wrote:
> + netdev_err(net_dev, "failed to build skb\n");

I don't thinkg this is needed, is build_skb() using GFP_NOWARN?
Otherwise there will be an OOM splat anyway. Do check, I'm not sure.

If there won't be an OOM splat this line should be rate limited.