summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs_subr.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-02-14 08:14:06 +0000
committerhselasky <hselasky@FreeBSD.org>2011-02-14 08:14:06 +0000
commit6df3ab97b9091b570163b18e344f69ce384e8e18 (patch)
tree5a040f8edfe47d625587b8e58aaecacdfd398631 /sys/fs/tmpfs/tmpfs_subr.c
parent301c433ed13b44937f9b635316d41b1772f58d15 (diff)
downloadFreeBSD-src-6df3ab97b9091b570163b18e344f69ce384e8e18.zip
FreeBSD-src-6df3ab97b9091b570163b18e344f69ce384e8e18.tar.gz
* 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)
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_subr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud