diff options
author | Michael Vassernis <michael.vassernis@tandemg.com> | 2019-10-03 10:31:38 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-10-04 14:59:48 +0300 |
commit | 313c3fe9c2348e7147eca38bb446f295b45403a0 (patch) | |
tree | 5243d71e65de2044ffbe6549554b0aa993b3e9be /tools/bpf | |
parent | 3afb0961884046c8fb4acbce65139088959681c8 (diff) | |
download | linux-313c3fe9c2348e7147eca38bb446f295b45403a0.tar.xz |
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 'tools/bpf')
0 files changed, 0 insertions, 0 deletions