[run] [panic] [patch] Workaround for use-after-free panic

PseudoCylon moonlightakkiy at yahoo.ca
Fri Jan 14 00:35:29 UTC 2011


----- Original Message ----
> From: Juergen Lock <nox at jelal.kn-bremen.de>
> To: FreeBSD-gnats-submit at freebsd.org
> Cc: moonlightakkiy at yahoo.ca; freebsd-net at freebsd.org
> Sent: Wed, January 12, 2011 12:55:59 PM
> Subject: [run] [panic] [patch] Workaround for use-after-free panic
> 
> 
> >Submitter-Id:     current-users
> >Originator:    Juergen  Lock
> >Organization:    me?   organized??
> >Confidential:    no 
> >Synopsis:    [run] [panic] [patch] Workaround for  use-after-free panic
> >Severity:    
> >Priority:    
> >Category:     kern
> >Class:         sw-bug
> >Release:    FreeBSD 8.1-RC2  amd64
> >Environment:
> System: FreeBSD triton8.kn-bremen.de 8.1-RC2  FreeBSD 8.1-RC2 #9: Wed Sep 1 
>21:53:36 CEST 2010 
>nox at triton8.kn-bremen.de:/usr/obj/data2v/home/nox/src-r81/src/sys/TRITON8U  
>amd64
> 
>     Yes this is an older stable/8 checkout but  if_run(4) is
>     checked out from  head.
> 
> >Description:
>     Running the nic in hostap  mode with wpa2 I once every few
>     weeks got the following  crash:
> 


Hello,

Thank you for the patch.

I have applied it. Please try patched driver out.
http://gitorious.org/run/run/trees/ratectl_fix/dev/usb/wlan

Basically, I added locks to your patch, so saved pointers are more reliable.


AK





More information about the freebsd-net mailing list