opnsense-src/sys/dev/usb
Hans Petter Selasky f417369bdd * 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)
2011-02-14 08:14:06 +00:00
..
controller Minor cleanup: 2011-02-09 08:01:45 +00:00
input sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:53:56 +00:00
misc Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
net Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need 2011-01-18 21:14:23 +00:00
quirk Curitel UM150 needs a quirk to stop it from detaching straight after 2011-02-07 22:37:27 +00:00
serial Fix for detection of MTK 3329 GPS USB devices. 2011-02-03 18:25:55 +00:00
storage Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
template Minor cleanup: 2011-02-09 08:01:45 +00:00
wlan * Fix page fault caused by referring freed node. 2011-02-14 08:14:06 +00:00
ufm_ioctl.h Move the new USB stack into its new home. 2009-02-23 18:31:00 +00:00
usb.h Add missing USB 3.0 definitions. Correct some wrong ones. 2010-10-04 21:38:10 +00:00
usb_bus.h Removes all duplicated code with BPF that it's greatly simplified and 2010-11-24 19:11:32 +00:00
usb_busdma.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_busdma.h - Make struct usb_xfer opaque so that drivers can not access the internals 2009-06-23 02:19:59 +00:00
usb_cdc.h USB network (NCM driver): 2010-10-13 22:04:55 +00:00
usb_compat_linux.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_compat_linux.h - Add usb_fill_bulk_urb() and usb_bulk_msg() linux compat functions [1] 2009-11-01 21:48:18 +00:00
usb_controller.h Removes a unused function `usb_bus_find'. 2010-11-25 22:56:26 +00:00
usb_core.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_core.h Improve High Speed slot allocation mechanism by moving the computation to the 2009-11-22 21:16:43 +00:00
usb_debug.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_debug.h Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had 2010-04-22 21:31:34 +00:00
usb_dev.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_dev.h USB core: 2009-07-30 00:15:50 +00:00
usb_device.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_device.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_dynamic.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_dynamic.h Use the EVENTHANDLER system to hook into the usb device configuration and 2009-12-17 21:42:10 +00:00
usb_endian.h Fix _USB2_* refernces in the header protection defines. 2009-06-15 01:09:19 +00:00
usb_error.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_freebsd.h Add more sanity checks for USB_HOST_ALIGN input values. Re-factor existing 2011-01-24 17:38:37 +00:00
usb_generic.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_generic.h Fix _USB2_* refernces in the header protection defines. 2009-06-15 01:09:19 +00:00
usb_handle_request.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hid.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hub.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hub.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_if.m Sync to p4 2009-06-27 21:23:30 +00:00
usb_ioctl.h - Add support for LibUSB in 32-bit compatibility mode. 2010-10-14 20:38:18 +00:00
usb_lookup.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_mbuf.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_mbuf.h - Make struct usb_xfer opaque so that drivers can not access the internals 2009-06-23 02:19:59 +00:00
usb_msctest.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_msctest.h Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needs 2010-10-06 14:29:00 +00:00
usb_parse.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_pci.h Fix _USB2_* refernces in the header protection defines. 2009-06-15 01:09:19 +00:00
usb_pf.c Use correct kernel types for all fields in USB PF code and headers. 2011-02-01 10:25:48 +00:00
usb_pf.h Use correct kernel types for all fields in USB PF code and headers. 2011-02-01 10:25:48 +00:00
usb_process.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_process.h Use software interrupt priorities for USB kthreads instead of hardware 2011-01-13 14:15:36 +00:00
usb_request.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_request.h Add code to warm reset a USB 3.0 port. 2010-11-04 19:24:21 +00:00
usb_transfer.c Minor cleanup: 2011-02-09 08:01:45 +00:00
usb_transfer.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_util.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_util.h - Make struct usb_xfer opaque so that drivers can not access the internals 2009-06-23 02:19:59 +00:00
usbdevs Curitel UM150 needs a quirk to stop it from detaching straight after 2011-02-07 22:37:27 +00:00
usbdi.h Add support for setting per-interface PnP information. 2010-10-27 17:38:05 +00:00
usbdi_util.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usbhid.h Support getting signed and unsigned HID data. 2010-05-12 22:50:23 +00:00