MichelleJin 111461d573 mac80211: check return value of rhashtable_init
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>
2021-09-27 12:00:34 +02:00
..
2021-08-20 10:09:22 -07:00
2021-06-23 12:36:32 +02:00
2021-06-23 11:00:17 +02:00
2019-03-29 11:20:36 +01:00
2020-11-11 08:39:13 +01:00