MichelleJin 15a51ab442 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>
2021-10-17 10:19:49 +02:00
..
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2018-06-18 22:40:32 +02:00
2021-03-30 14:37:03 +02:00
2018-06-18 22:40:32 +02:00
2018-06-30 21:08:12 +09:00
2019-05-16 19:41:20 +02:00
2018-06-18 22:40:32 +02:00