The following reply was made to PR kern/153938; it has been noted by GNATS.

From: PseudoCylon <moonlightak...@yahoo.ca>
To: bug-follo...@freebsd.org, Juergen Lock <n...@jelal.kn-bremen.de>
Cc: Juergen Lock <n...@jelal.kn-bremen.de>
Subject: Re: kern/153938: [run] [panic] [patch] Workaround for use-after-free 
panic
Date: Sat, 22 Jan 2011 23:35:14 -0800 (PST)

 ----- Original Message ----
 > From: Juergen Lock <n...@jelal.kn-bremen.de>
 > To: PseudoCylon <moonlightak...@yahoo.ca>
 > Cc: bug-follo...@freebsd.org; Juergen Lock <n...@jelal.kn-bremen.de>
 > Sent: Fri, January 21, 2011 11:21:20 AM
 > Subject: Re: kern/153938: [run] [panic] [patch] Workaround for 
 > use-after-free 
 >panic
 > 
 > It's possible  this was triggered by the first DPRINTFN() in
 > run_node_cleanup() (that I  turned into a device_printf() and meanwhile
 > have disabled, maybe it caused a  taskswitch)
 
 Your bt says no.
 
 > #5  0xffffffff8117839b in run_node_cleanup (ni=0xffffff8000f83000)
 >     at 
 >/data2v/home/nox/src-r81/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:1719
 >
 > 1719            RUN_LOCK(sc);
 > (kgdb) l
 
 
 run_node_cleanup() was called with node lock held. Happens all the time.
 
 > - but in any case I'd
 > say this is not safe i.e. needs to be  fixed. :)
 > 
 
 Yes. Here is fix. This one shall work.
 http://gitorious.org/run/run/trees/fifo_fix/dev/usb/wlan
 
 
 AK
 
 
 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to