Re: mac80211: avoid allocating TXQs that won't be used

2017-09-20 Thread Johannes Berg
ohannes Berg <johannes.b...@intel.com> > Date: Thu, 22 Jun 2017 12:20:29 +0200 > Subject: [PATCH] mac80211: avoid allocating TXQs that won't be used > > Issue: sdata is null when the sdata is dereferenced by: > >    sdata->vif.type != NL80211_IFT

re: mac80211: avoid allocating TXQs that won't be used

2017-09-20 Thread Colin Ian King
t: [PATCH] mac80211: avoid allocating TXQs that won't be used Issue: sdata is null when the sdata is dereferenced by: sdata->vif.type != NL80211_IFTYPE_AP_VLAN && sdata->vif.type != NL80211_IFTYPE_MONITOR) note that sdata is assigned a non-null much l

[PATCH 2/3] mac80211: avoid allocating TXQs that won't be used

2017-06-22 Thread Johannes Berg
From: Johannes Berg For AP_VLAN and monitor interfaces we'll never use the TXQs we allocated, so avoid doing so. Signed-off-by: Johannes Berg --- net/mac80211/iface.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git