Re: [PATCH] USB: fix race in HCD removal

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 13 Mar 2007, Greg KH wrote:

> On Tue, Mar 13, 2007 at 11:10:52AM -0400, Alan Stern wrote:
> > This patch (as865) fixes a race in the HCD removal code discovered by
> > Milan Plzik.  Arrival of an interrupt after the root hub was
> > unregistered could cause the root-hub status timer to start up, even
> > after it was supposed to have been shut down.  The problem is fixed by
> > moving the del_timer_sync() call to after the HCD's stop() method, at
> > which time IRQ generation should be disabled.
> > 
> > Signed-off-by: Alan Stern <[email protected]>
> 
> Should this be in 2.6.21 or can it wait until 2.6.22?

It can wait, as far as I am concerned.  Probably the only system affected
by the race is the one Milan has.  :-)

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.