Search Linux Wireless

Re: [PATCH] net/mac80211/sta_info.c: Fix crash in ieee80211_sta_expire.

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

 



Hi,

On Thu, Dec 29, 2011 at 10:28 PM, Ignacy Gawedzki <i@xxxxxx> wrote:
> Add missing brackets after applying ec2b774e7c91094d8c00de579646f1162b87b01e.


its already addressed by the patch
http://comments.gmane.org/gmane.linux.kernel.wireless.general/83198

> ---
>  net/mac80211/sta_info.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
> index f0d3b48..1b085f7 100644
> --- a/net/mac80211/sta_info.c
> +++ b/net/mac80211/sta_info.c
> @@ -945,7 +945,7 @@ void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
>        struct sta_info *sta, *tmp;
>
>        mutex_lock(&local->sta_mtx);
> -       list_for_each_entry_safe(sta, tmp, &local->sta_list, list)
> +       list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
>                if (sdata != sta->sdata)
>                        continue;
>
> @@ -956,6 +956,7 @@ void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
>  #endif
>                        WARN_ON(__sta_info_destroy(sta));
>                }
> +       }
>        mutex_unlock(&local->sta_mtx);
>  }
>
> --
> 1.7.5.4
> --
> 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



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