On Tue, Aug 30, 2011 at 10:11 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2011-08-30 at 18:50 -0700, Javier Cardona wrote: > >> The stress tests do trigger perrs and, with this change, we see a >> warning due to missing info->control.vif >> >> [14202.988077] ------------[ cut here ]------------ >> [14202.988351] WARNING: at net/mac80211/util.c:358 >> ieee80211_add_pending_skb+0x97/0xa0() > > Interesting. Ok, that means we can't just use add_pending_skb(), we need > to do some setup before, all the setup that ieee80211_tx_skb() and > ieee80211_xmit() would do up to ieee80211_tx()... > > I guess we need a little bit of helper code to enable this. The patch that follows seems to do it. Passes our stress test without warnings. I increased the headroom on allocation to avoid a resize. Does it look correct to you? Cheers, Javier -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html