aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorGravatar Chunho Lee <handera@gmail.com> 2017-07-07 17:03:14 -0700
committerGravatar Johannes Berg <johannes.berg@intel.com> 2017-09-05 11:28:51 +0200
commit89e9bfc4ee859ad2a477f10aa2d5c37377242296 (patch)
tree53abe24ac82c6644314bd9de17d76969b8ce623b /drivers/net/wireless/mac80211_hwsim.c
parentmac80211: add MESH IE in the correct order (diff)
downloadlinux-89e9bfc4ee859ad2a477f10aa2d5c37377242296.tar.gz
linux-89e9bfc4ee859ad2a477f10aa2d5c37377242296.tar.bz2
linux-89e9bfc4ee859ad2a477f10aa2d5c37377242296.zip
mac80211: Fix null pointer dereference with iTXQ support
This change adds null pointer check before dereferencing pointer dev on netif_tx_start_all_queues() when an interface is added. With iTXQ support, netif_tx_start_all_queues() is always called while an interface is added. however, the netdev queues are not associated and dev is null when the interface is either NL80211_IFTYPE_P2P_DEVICE or NL80211_IFTYPE_NAN. Signed-off-by: Chunho Lee <ch.lee@newracom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions