summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/alteon
diff options
context:
space:
mode:
authorMichelleJin <shjy180909@gmail.com>2021-09-27 06:34:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-17 11:19:49 +0300
commit15a51ab442b46ff442ae410ecabe9f19ff7f7902 (patch)
tree04b6d9a80eb4f66b38d29cae62cb43ecce61f516 /drivers/net/ethernet/alteon
parent65492b05f4a4a18300863f00c51481cd8b32c689 (diff)
downloadlinux-15a51ab442b46ff442ae410ecabe9f19ff7f7902.tar.xz
mac80211: check return value of rhashtable_init
[ Upstream commit 111461d573741c17eafad029ac93474fa9adcce0 ] 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> Link: https://lore.kernel.org/r/20210927033457.1020967-4-shjy180909@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/alteon')
0 files changed, 0 insertions, 0 deletions