Date: Thu, 05 May 2005 15:33:02 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: julian@elischer.org Cc: usbcrash@oldach.net Subject: Re: recent USB MFCs cause panics Message-ID: <20050505.153302.71182158.imp@bsdimp.com> In-Reply-To: <427A8EF3.70003@elischer.org> References: <200505050618.j456IleO001353@sep.oldach.net> <427A887F.3020108@elischer.org> <427A8EF3.70003@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Julian Elischer <julian@elischer.org>
Subject: Re: recent USB MFCs cause panics
Date: Thu, 05 May 2005 14:24:03 -0700
>
>
> Julian Elischer wrote:
>
> try:
>
> in usb_port.h
> comment out line 425 (as below)
>
> 422
> 423 #define config_detach(dev, flag) \
> 424 do { \
> 425 /* device_detach(dev); */ \
> 426 free(device_get_ivars(dev), M_USB); \
> 427 device_delete_child(device_get_parent(dev), dev); \
> 428 } while (0);
> 429
Commenting it out is lame... I fixed this in current in uhub.c as
well as here... Since 'dev' is 0 here, I'm unsure that commenting it
out will fix the problem because the next line frees it....
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505.153302.71182158.imp>
