summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_cc_functions.c
diff options
context:
space:
mode:
authorweongyo <weongyo@FreeBSD.org>2009-03-12 02:51:55 +0000
committerweongyo <weongyo@FreeBSD.org>2009-03-12 02:51:55 +0000
commitefbcaa065bf4baa5db7bdde51bf378f1d5d04dac (patch)
tree9c2dded23354b57a889167db21eb33a953362afe /sys/netinet/sctp_cc_functions.c
parent8de969f06675ded49971133b36c234d6f7c39491 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud