[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241103173133.96629-1-kuniyu@amazon.com>
Date: Sun, 3 Nov 2024 09:31:33 -0800
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <markus.elfring@....de>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <horms@...nel.org>,
<jiri@...nulli.us>, <juntong.deng@...look.com>,
<kernel-janitors@...r.kernel.org>, <kuba@...nel.org>, <kuniyu@...zon.com>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<nikolay@...hat.com>, <pabeni@...hat.com>, <razor@...ckwall.org>,
<ruanjinjie@...wei.com>, <shaozhengchao@...wei.com>, <tgraf@...g.ch>
Subject: Re: [PATCH] netlink: Fix off-by-one error in netlink_proto_init()
From: Markus Elfring <Markus.Elfring@....de>
Date: Sun, 3 Nov 2024 14:15:18 +0100
> From: Markus Elfring <elfring@...rs.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
Powered by blists - more mailing lists