Search Linux Wireless

Re: [PATCH] cfg80211: fix memory leak/corruption of bss_list

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

 



hi Ben,

On Thu, May 17, 2012 at 10:29 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
> On 05/17/2012 09:06 AM, Eliad Peller wrote:
>>
>> cfg80211_dev_free() calls cfg80211_put_bss() directly on all
>> the remaining bss entries, skipping the proper bss entry
>> cleanup that usually made by __cfg80211_unlink_bss(), and
>> leaving the bss_list and the rb_tree with dangling pointers.
>>
>> Fix it by calling cfg80211_unlink_bss() instead.
>
>
> This doesn't apply clean against 3.3..though not too hard
> to fix it up by hand.
>
> Do you know how far back this does need to be applied (3.0, for instance)?
>
as Johannes noted, this patch doesn't seem to solve an actual bug, so
it's not needed.

Eliad.
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux