From: David Ahern <dsahern@gmail.com>
To: MichelleJin <shjy180909@gmail.com>,
davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org,
dsahern@kernel.org, johannes@sipsolutions.net
Cc: saeedm@nvidia.com, leon@kernel.org, roid@nvidia.com,
paulb@nvidia.com, ozsh@nvidia.com, lariel@nvidia.com,
cmi@nvidia.com, netdev@vger.kernel.org,
linux-rdma@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH net-next v4 2/3] net: ipv6: check return value of rhashtable_init
Date: Mon, 27 Sep 2021 07:43:17 -0600 [thread overview]
Message-ID: <f1e72a4a-3a85-71d9-81cc-8ca835565a50@gmail.com> (raw)
In-Reply-To: <20210927033457.1020967-3-shjy180909@gmail.com>
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@gmail.com>
> ---
Reviewed-by: David Ahern <dsahern@kernel.org>
next prev parent reply other threads:[~2021-09-27 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 3:34 [PATCH net-next v4 0/3] check return value of rhashtable_init in mlx5e, ipv6, mac80211 MichelleJin
2021-09-27 3:34 ` [PATCH net-next v4 1/3] net/mlx5e: check return value of rhashtable_init MichelleJin
2021-09-29 11:00 ` Roi Dayan
2021-09-27 3:34 ` [PATCH net-next v4 2/3] net: ipv6: " MichelleJin
2021-09-27 13:43 ` David Ahern [this message]
2021-09-27 3:34 ` [PATCH net-next v4 3/3] net: mac80211: " MichelleJin
2021-09-28 12:10 ` [PATCH net-next v4 0/3] check return value of rhashtable_init in mlx5e, ipv6, mac80211 patchwork-bot+netdevbpf
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=f1e72a4a-3a85-71d9-81cc-8ca835565a50@gmail.com \
--to=dsahern@gmail.com \
--cc=cmi@nvidia.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=lariel@nvidia.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ozsh@nvidia.com \
--cc=paulb@nvidia.com \
--cc=roid@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=shjy180909@gmail.com \
--cc=yoshfuji@linux-ipv6.org \
/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).