diff options
author | MichelleJin <[email protected]> | 2021-09-27 03:34:57 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-28 12:59:24 +0100 |
commit | f43bed7193a36b1b4f73212ee0069f9113816856 (patch) | |
tree | 644296520f535792541f5417ee903ff24788a732 /tools/perf/scripts/python/libxed.py | |
parent | f04ed7d277e842af9934b71b529341d1ba31a9c1 (diff) |
net: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions