[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f1e72a4a-3a85-71d9-81cc-8ca835565a50@gmail.com>
Date: Mon, 27 Sep 2021 07:43:17 -0600
From: David Ahern <dsahern@...il.com>
To: MichelleJin <shjy180909@...il.com>, davem@...emloft.net,
kuba@...nel.org, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
johannes@...solutions.net
Cc: saeedm@...dia.com, leon@...nel.org, roid@...dia.com,
paulb@...dia.com, ozsh@...dia.com, lariel@...dia.com,
cmi@...dia.com, netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next v4 2/3] net: ipv6: check return value of
rhashtable_init
On 9/26/21 9:34 PM, MichelleJin wrote:
> When rhashtable_init() fails, it returns -EINVAL.
> However, since error return value of rhashtable_init is not checked,
> it can cause use of uninitialized pointers.
> So, fix unhandled errors of rhashtable_init.
>
> Signed-off-by: MichelleJin <shjy180909@...il.com>
> ---
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists