From: Kuniyuki Iwashima <kuniyu@amazon.com>
To: <markus.elfring@web.de>
Cc: <davem@davemloft.net>, <edumazet@google.com>, <horms@kernel.org>,
<jiri@resnulli.us>, <juntong.deng@outlook.com>,
<kernel-janitors@vger.kernel.org>, <kuba@kernel.org>,
<kuniyu@amazon.com>, <linux-kernel@vger.kernel.org>,
<netdev@vger.kernel.org>, <nikolay@redhat.com>,
<pabeni@redhat.com>, <razor@blackwall.org>,
<ruanjinjie@huawei.com>, <shaozhengchao@huawei.com>,
<tgraf@suug.ch>
Subject: Re: [PATCH] netlink: Fix off-by-one error in netlink_proto_init()
Date: Sun, 3 Nov 2024 09:31:33 -0800 [thread overview]
Message-ID: <20241103173133.96629-1-kuniyu@amazon.com> (raw)
In-Reply-To: <80516b25-a42d-48e1-bcf9-27efe58f44c6@web.de>
From: Markus Elfring <Markus.Elfring@web.de>
Date: Sun, 3 Nov 2024 14:15:18 +0100
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 3 Nov 2024 14:01:26 +0100
>
> Hash tables should be properly destroyed after a rhashtable_init() call
> failed in this function implementation.
> The corresponding exception handling was incomplete because of
> a questionable condition check.
> Thus use the comparison operator “>=” instead for the affected while loop.
This patch is already applied to net-next.
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=bc74d329ceba
next prev parent reply other threads:[~2024-11-03 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 13:15 Markus Elfring
2024-11-03 17:31 ` Kuniyuki Iwashima [this message]
2024-11-04 7:38 ` Markus Elfring
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=20241103173133.96629-1-kuniyu@amazon.com \
--to=kuniyu@amazon.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=juntong.deng@outlook.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markus.elfring@web.de \
--cc=netdev@vger.kernel.org \
--cc=nikolay@redhat.com \
--cc=pabeni@redhat.com \
--cc=razor@blackwall.org \
--cc=ruanjinjie@huawei.com \
--cc=shaozhengchao@huawei.com \
--cc=tgraf@suug.ch \
/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
all inboxes | Powered by JetHome®