commit | 3f61b7a30a6a8fd917d7570cb00a26a054d84ab4 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue May 29 12:04:51 2018 +0200 |
committer | Johannes Berg <johannes@sipsolutions.net> | Fri Jun 15 13:02:02 2018 +0200 |
tree | f6977da2207b9a00d14dcdc69815e1035508f446 | |
parent | 3c12d0486856b9eb89c2a9ac336713cba90813e3 [diff] |
mac80211_hwsim: fix module init error paths We didn't free the workqueue on any errors, nor did we correctly check for rhashtable allocation errors, nor did we free the hashtable on error. Reported-by: Colin King <colin.king@canonical.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>