Re: [PATCH] mac80211: fix minstrel single-rate memory corruption

From: Bob Copeland
Date: Fri Jun 05 2009 - 10:21:55 EST


On Fri, Jun 5, 2009 at 10:04 AM, Felix Fietkau<nbd@xxxxxxxxxxx> wrote:
>> John & Felix, the patch itself may be too subtle so feel free to do it a
>> different way.  However this is as minimal as it gets so I hope it can
>> be applied quickly to stable, and mainline if not too late.
>
> How about changing the type of sample_idx to signed instead of casting
> it? It's just a cosmetic thing, so even if you leave at this you get my

Yeah, that is a better option for 2.6.31. I would be a bit more
comfortable with this version for now though since it's exactly
the code I tested.

> Acked-by: Felix Fietkau <nbd@xxxxxxxxxxx>

Thanks!

--
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/