mac80211_hwsim: fix race condition with sta/vif pointers
info->control.sta and control.vif may only be dereferenced during the drv_tx call otherwise could lead to use-after-free bugs. Signed-off-by: NThomas Huehn <thomas@net.t-labs.tu-berlin.de> [reword commit message] Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
想要评论请 注册 或 登录