linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211 splat with pktgen on hacked 4.4 kernel.
@ 2016-06-15 17:38 Ben Greear
  2016-06-15 17:46 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2016-06-15 17:38 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

On 4.4.11 + local hacks, including fairly extensive pktgen changes....

When I overdrive transmit on a station with pktgen, I see this
splat hit below repeatedly.  Any ideas on what kinds of things
might cause this?

		while (!skb_queue_empty(&local->pending[i])) {
			struct sk_buff *skb = __skb_dequeue(&local->pending[i]);
			struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);

			if (WARN_ON(!info->control.vif)) {
				ieee80211_free_txskb(&local->hw, skb);
				continue;
			}


Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mac80211 splat with pktgen on hacked 4.4 kernel.
  2016-06-15 17:38 mac80211 splat with pktgen on hacked 4.4 kernel Ben Greear
@ 2016-06-15 17:46 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2016-06-15 17:46 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

On 06/15/2016 10:38 AM, Ben Greear wrote:
> On 4.4.11 + local hacks, including fairly extensive pktgen changes....
>
> When I overdrive transmit on a station with pktgen, I see this
> splat hit below repeatedly.  Any ideas on what kinds of things
> might cause this?
>
>          while (!skb_queue_empty(&local->pending[i])) {
>              struct sk_buff *skb = __skb_dequeue(&local->pending[i]);
>              struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
>
>              if (WARN_ON(!info->control.vif)) {
>                  ieee80211_free_txskb(&local->hw, skb);
>                  continue;
>              }
>

For instance, should this method below set the vif when it is queueing up a backlogged
frame when the queue is stopped?  Seems it only sets the vif it it is transmitting
the frame?

static bool ieee80211_tx_frags(struct ieee80211_local *local,
                                struct ieee80211_vif *vif,
                                struct ieee80211_sta *sta,
                                struct sk_buff_head *skbs,
                                bool txpending)

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-15 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 17:38 mac80211 splat with pktgen on hacked 4.4 kernel Ben Greear
2016-06-15 17:46 ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).