[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <70a94379-ee4b-46e7-8cb9-c817590ad851@web.de>
Date: Tue, 2 Jan 2024 08:32:30 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Stephen Hemminger <stephen@...workplumber.org>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Cc: Willem de Bruijn <willemdebruijn.kernel@...il.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: packet: Improve exception handling in fanout_add()
> If you look at the existing coccinelle script there is even one
> to remove unnecessary checks for null before calling kfree.
The avoidance of extra pointer checks is an other use case than
omitting redundant function calls, isn't it?
Regards,
Markus
Powered by blists - more mailing lists