Date: Mon, 14 Feb 2011 08:14:06 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb/wlan if_run.c if_runreg.h if_runvar.h Message-ID: <201102140814.p1E8EVD1091708@repoman.freebsd.org>
index | next in thread | raw e-mail
hselasky 2011-02-14 08:14:06 UTC
FreeBSD src repository
Modified files:
sys/dev/usb/wlan if_run.c if_runreg.h if_runvar.h
Log:
SVN rev 218676 on 2011-02-14 08:14:06Z by hselasky
* Fix page fault caused by referring freed node.
While updating Tx stats, already freed node could be referred and cause
page fault. To avoid such panic, spool Tx stats in driver's softc. Then,
on every ratectl interval, grab node though ieee80211_iterate_nodes() and
update ratectl stats.
* Simplify some code in run_iter_func().
* Fix typo
* Use memset instead of bzero (hselasky @)
PR: kern/153938
Submitted by: PseudoCylon <moonlightakkiy@yahoo.ca>
Approved by: thompsa (mentor)
Revision Changes Path
1.20 +60 -55 src/sys/dev/usb/wlan/if_run.c
1.4 +13 -0 src/sys/dev/usb/wlan/if_runreg.h
1.8 +4 -1 src/sys/dev/usb/wlan/if_runvar.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102140814.p1E8EVD1091708>
