diff options
author | weongyo <weongyo@FreeBSD.org> | 2009-03-12 02:51:55 +0000 |
---|---|---|
committer | weongyo <weongyo@FreeBSD.org> | 2009-03-12 02:51:55 +0000 |
commit | efbcaa065bf4baa5db7bdde51bf378f1d5d04dac (patch) | |
tree | 9c2dded23354b57a889167db21eb33a953362afe /sys/netinet/sctp_cc_functions.c | |
parent | 8de969f06675ded49971133b36c234d6f7c39491 (diff) | |
download | FreeBSD-src-efbcaa065bf4baa5db7bdde51bf378f1d5d04dac.zip FreeBSD-src-efbcaa065bf4baa5db7bdde51bf378f1d5d04dac.tar.gz |
o change a lock model based on HAL preemption lock to a normal mtx.
Based on the HAL preemption lock there is a problem on SMP machines
and causes a panic.
o When a device detached the current tactic to detach NDIS USB driver is
to call SURPRISE_REMOVED event. So it don't need to call
ndis_halt_nic() again. This fixes some page faults when some drivers
work abnormal.
o it assumes now that URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER is in
DISPATCH_LEVEL (non-sleepable) and as further work
URB_FUNCTION_VENDOR_XXX and URB_FUNCTION_CLASS_XXX should be.
Reviewed by: Hans Petter Selasky <hselasky_at_freebsd.org>
Tested by: Paul B. Mahol <onemda_at_gmail.com>
Diffstat (limited to 'sys/netinet/sctp_cc_functions.c')
0 files changed, 0 insertions, 0 deletions