Go to file
jym 96f9080096 Fixes in the iwi(4) driver to better handle errors:
- bus_dmamap fixes, with checks against NULL
- move the rings' allocation code later in iwi_attach() to avoid NULL pointer
dereference if allocation fails
- avoid double free() in case of failure during attach. If an allocation fails,
do not free the ring directly, as it is handled by iwi_detach()
- only set ring->count for RX/TX rings when ring allocation is successful, or
else the for loop during detach will fail with a NULL dereference.
- call pci_intr_disestablish() if iwi_reset() fails during attach; driver is
in an incoherent state, interrupt handler should not be used.

Proposed by me on tech-net@, approved by christos@. Compiled and tested
with GENERIC and XEN3_DOM0 kernels.
2009-03-13 21:57:07 +00:00
bin Use .Rs/.Re for reference to C shell introduction. 2009-03-13 14:07:54 +00:00
common Revert test from MACHINE_ARCH to MACHINE, as this can be called with 2009-03-13 19:16:46 +00:00
compat Prefer MACHINE_ARCH to MACHINE in some tests 2009-03-12 17:16:58 +00:00
crypto From Arnaud Ebalard: Fix couple of problems with previous commit. 2009-03-13 04:49:16 +00:00
dist In is_number(), do not check strtod() result against HUGE_VAL which 2009-03-12 13:04:01 +00:00
distrib add the xdm config files Xstartup and Xreset to the build 2009-03-13 17:12:44 +00:00
doc - move sgimips xorg stuff which has been pulled up 2009-03-13 18:18:41 +00:00
etc Prefer MACHINE_ARCH to MACHINE in some tests 2009-03-12 17:16:58 +00:00
external add the xdm config files Xstartup and Xreset to the build 2009-03-13 17:12:44 +00:00
games Fix list markup. Use .Ic for key as suggested by wiz. 2009-03-11 16:37:06 +00:00
gnu Add entry for libfetch. 2009-03-11 14:29:06 +00:00
include version alphasort. 2009-02-24 18:41:40 +00:00
lib Remove USETBL, now that man page does not need tbl any longer. 2009-03-12 13:52:47 +00:00
libexec Fix preamble 2009-03-11 13:39:33 +00:00
regress remove obsolete comment. 2009-03-08 19:17:11 +00:00
rescue - rework this a bunch to make it work inside /rescue/ldd. 2009-01-07 00:39:23 +00:00
sbin Fix spelling: s/parition/partition/. 2009-03-12 22:59:03 +00:00
share Add a MKARZERO flag, which invokes ar(1) with the new D flag when it 2009-03-13 16:23:31 +00:00
sys Fixes in the iwi(4) driver to better handle errors: 2009-03-13 21:57:07 +00:00
tests ipf does not live here; it is in the parent directory. Spotted by njoly@. 2009-02-27 07:32:33 +00:00
tools Disable grep host tool and unbreak NetBSD build until I can come up with a 2009-02-25 22:28:36 +00:00
usr.bin Now that condmkopttab isn't a hash table anymore, don't initialise it with 2009-03-13 20:44:59 +00:00
usr.sbin print some SVM info if available. 2009-03-12 09:10:15 +00:00
x11 turn on paste64. 2009-02-20 16:06:59 +00:00
build.sh Add a MKARZERO flag, which invokes ar(1) with the new D flag when it 2009-03-13 16:23:31 +00:00
BUILDING be explicit about MAKEOBJDIR and MAKEOBJDIRPREFIX not being for 2008-12-02 22:28:21 +00:00
Makefile Disable grep host tool and unbreak NetBSD build until I can come up with a 2009-02-25 22:28:36 +00:00
Makefile.inc
UPDATING s/posix_fadvise/__posix_fadvise50/ in last. 2009-02-08 11:58:25 +00:00