Search Linux Wireless

Re: [PATCH v2 1/2] cfg80211: fix race on init and driver registration

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

 



On Mon, Nov 28, 2011 at 4:31 PM, Luis R. Rodriguez
<mcgrof@xxxxxxxxxxxxxxxx> wrote:

> @@ -1823,6 +1837,10 @@ static void restore_regulatory_settings(bool reset_user)
>        /* First restore to the basic regulatory settings */
>        cfg80211_regdomain = cfg80211_world_regdom;
>
> +       if (last_request != &core_request_world)
> +               kfree(last_request);
> +       last_request = &core_request_world;
> +
>        mutex_unlock(&reg_mutex);
>        mutex_unlock(&cfg80211_mutex);
>

This hunk is redundant given that we call reset_regdomains() above,
will send a v3..

  Luis
--
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