Search Linux Wireless

Re: [BUG] rtl8187, cfg80211 - unable to handle kernel NULL pointer dereference

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

 



On Mon, 2009-03-23 at 23:34 -0500, Larry Finger wrote:

> commit 59fe3ee33bdb7e8dd0584271382fb94880f68002
> Author: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> Date:   Sat Mar 21 17:08:43 2009 +0100
> 
>     mac80211: remove mixed-cell and userspace MLME code
> 
>     Neither can currently be set from userspace, so there's no
>     regression potential, and neither will be supported from
>     userspace since the new userspace APIs allow the SME, which
>     is in userspace, to control all we need.
> 
>     Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
>     Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

Ouch. I suck. And the problem is blindingly obvious:


+       if (sdata->vif.type != NL80211_IFTYPE_ADHOC)
+               return ieee80211_ibss_rx_mgmt(sdata, rx->skb, rx->status);

needs to be == of course!

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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