summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorMichael Vassernis <michael.vassernis@tandemg.com>2019-10-03 07:31:38 +0000
committerJohannes Berg <johannes.berg@intel.com>2019-10-04 13:59:48 +0200
commit313c3fe9c2348e7147eca38bb446f295b45403a0 (patch)
tree5243d71e65de2044ffbe6549554b0aa993b3e9be /net/mac80211/mlme.c
parent3afb0961884046c8fb4acbce65139088959681c8 (diff)
mac80211_hwsim: fix incorrect dev_alloc_name failure goto
If dev_alloc_name fails, hwsim_mon's memory allocated in alloc_netdev needs to be freed. Change goto command in dev_alloc_name failure to out_free_mon in order to perform free_netdev. Signed-off-by: Michael Vassernis <michael.vassernis@tandemg.com> Link: https://lore.kernel.org/r/20191003073049.3760-1-michael.vassernis@tandemg.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions