aboutsummaryrefslogtreecommitdiff
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorMichelleJin <shjy180909@gmail.com>2021-09-27 03:34:57 +0000
committerJohannes Berg <johannes.berg@intel.com>2021-09-27 12:00:34 +0200
commit111461d573741c17eafad029ac93474fa9adcce0 (patch)
treeb543ca397a347e10a4e42eac77f04280c395b793 /include/net/mac80211.h
parent94513069eb549737bcfc3d988d6ed4da948a2de8 (diff)
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>
Diffstat (limited to 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions