Search Linux Wireless

Re: [PATCH] mac80211: fix races between siwessid and siwencode

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

 



2008/3/5, Johannes Berg <johannes@xxxxxxxxxxxxxxxx>:
>
> On Wed, 2008-03-05 at 18:40 +0900, Joonwoo Park wrote:
> > resolve: http://bughost.org/bugzilla/show_bug.cgi?id=1522
> >
> > The function ieee80211_ioctl_siwencode shouldn't be called if
> > authentication process is not completed.
> > This patch makes the ieee80211_ioctl_siwessid to wait for authentication
> > is completed.
>

Johannes,
Thank you for reviewing this.

> This looks wrong. You could restart association when a key is set but
> really the race is by design in WEXT so the only way to fix it is to set
> the key first.
>

Do you mean fix iwconfig to always do set key before set essid?
As you said, It could be a possible solution.
But, doing It cannot solve a race from two seperated iwconfig process, I think.
(eg: iwconfig essid ESSID; iwconfig enc ENC)
Moreover, now we just wake auth request task up and return when setting essid.
Don't we need to wait a moment until the task is scheduled to be
polite to iwconifg? :)

Thanks,
Joonwoo
--
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