Search Linux Wireless

Re: [PATCH 1/3] mac80211: cooperate more with network namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-07-14 at 00:33 +0200, Johannes Berg wrote:
> @@ -1900,10 +1880,16 @@ void ieee80211_tx_pending(unsigned long 
>  
>  		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);
> +			struct ieee80211_sub_if_data *sdata;
> +
> +			sdata = vif_to_sdata(info->control.vif);
> +			dev_hold(sdata->dev);

I'm getting a panic at this point if I run hostapd on ath9k and a
Windows client tries to authenticate with a wrong WPA key.

Debugging shows that sdata->dev is NULL.

The current wireless-testing is affected.  The revision preceding to
this patch is not affected.

CONFIG_NET_NS is not enabled.  The architecture is x86_64.

-- 
Regards,
Pavel Roskin
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux