Re: Panics and potential memory corruption when pulling out a uath device

From: Weongyo Jeong <weongyo.jeong_at_gmail.com>
Date: Wed, 20 May 2009 12:49:58 +0900
On Tue, May 19, 2009 at 08:21:22PM +0200, Lucius Windschuh wrote:
> 2009/5/19 Weongyo Jeong <weongyo.jeong_at_gmail.com>:
> > On Tue, May 19, 2009 at 12:08:45AM +0200, Lucius Windschuh wrote:
> >> 2009/5/18 Hans Petter Selasky <hselasky_at_c2i.net>:
> >> > Regarding the first panic, there seems to be a detach race in both upgt and
> >> > uath, which is not USB related. Try this patch:
> >> >
> >> > http://perforce.freebsd.org/chv.cgi?CH=162250
> >>
> >> This fixes not only the first panic.
> >> I can't provoke any panic by pulling out the active device. Thanks.
> >
> > Could you please test with this patch that is slightly different with
> > Hans's patch? ?It try to unsetup after stopping the device.
> >
> > If no problems I'd commit it.
> 
> This works also. I cannot produce panics with it.

The patch is committed at r192419.  Thanks you for reporting! :-)

regards,
Weongyo Jeong
Received on Wed May 20 2009 - 01:50:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC