Search Linux Wireless

Re: [PATCH v2] rt2x00: rt2800usb: fix races in tx queue

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

 



Hello Gertjan 

On Mon, Aug 08, 2011 at 10:55:56PM +0200, Gertjan van Wingerde wrote:
> Sorry for responding this late. I just didn't find the bandwidth to look at this earlier :-(
> 
> First of all, I don't think stable should be cc-ed on this particular patch. Although the ideas
> of the patch are certainly applicable to the stable trees, this patch will simply not apply to
> 3.0 or earlier, since the code you are patching has been moved around between 3.0 and 3.1.

CCing stable mean that we want that fix in stable kernel, not that patch
have to apply cleanly. When greg-kh will be applying patch on stable tries,
I'll provide proper backport.

> Second, I think it would be appropriate to split the patch in 2, or maybe 3, parts:
> 	1. The hunk to rt2x00usb to reverse the entry flag handling and the tx dma done handling.
> 	2. The hunk that checks that the entry on which the TX status is being reported has
>            already been properly completed its TX done handling.
> 	3. The remainder, i.e. the retrying of handling a TX status report if the entry hasn't been
>            fully completed its TX done handling yet. 
> 
> The code in this area has been proven to be very fragile, so I prefer to make mini changes to it in
> small steps, so that we can properly bisect which change exactly has caused a problem.
> 
> See further down for more thoughts.

Thanks for comments. I'll repost small patch that should fix the bug
and don't do things you dislike.

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