From: Markus Elfring <Markus.Elfring@web.de>
To: Stephen Hemminger <stephen@networkplumber.org>,
netdev@vger.kernel.org, kernel-janitors@vger.kernel.org
Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: packet: Improve exception handling in fanout_add()
Date: Tue, 2 Jan 2024 08:32:30 +0100 [thread overview]
Message-ID: <70a94379-ee4b-46e7-8cb9-c817590ad851@web.de> (raw)
In-Reply-To: <20240101101221.73276d5d@hermes.local>
> 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
next prev parent reply other threads:[~2024-01-02 7:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-31 15:39 [PATCH] packet: Improve exception handling in fanout_add() Markus Elfring
2023-12-31 21:45 ` Willem de Bruijn
2024-01-01 9:46 ` Markus Elfring
2024-01-01 15:29 ` Willem de Bruijn
2024-01-01 16:33 ` David Laight
2024-01-01 18:12 ` Stephen Hemminger
2024-01-02 7:32 ` Markus Elfring [this message]
2023-12-31 22:44 ` [PATCH] " Stephen Hemminger
2024-01-02 16:30 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70a94379-ee4b-46e7-8cb9-c817590ad851@web.de \
--to=markus.elfring@web.de \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stephen@networkplumber.org \
--cc=willemdebruijn.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).