freebsd-nq/sys
Alexander Leidinger 9d978cc757 Convert NULL checks into KASSERT (and move them before the first
dereferencing) since a NULL value would be a bug here.

Note: Both affected functions look very similar. A refactoring may
be beneficial.

CID:		483, 485
Found with:	Coverity Prevent(tm)
Discussed with:	ariff
MFC after:	5 days
2006-02-05 17:47:26 +00:00
..
alpha Assign audit identifiers to alpha/linux system calls so that they will 2006-02-04 14:03:22 +00:00
amd64 Call the audit syscall enter/exit functions for the amd64 architecture, 2006-02-04 20:37:20 +00:00
arm Import support for the Atmel AT91RM9200 CPU/Microcontroller. This SoC 2006-02-04 23:32:13 +00:00
boot Remove ELF dynamic tag definitions that aren't used. Ideally, 2006-01-18 18:49:25 +00:00
bsm Merge OpenBSM 1.0 alpha 2 kernel audit events into src/sys/bsm. Almost 2006-02-04 13:22:44 +00:00
cam - Add a scsi_da.c and a umass.c quirk for Genesys 6-in-1 Card Reader. 2006-01-30 20:27:44 +00:00
coda - Reorder calls to vrele() after calls to vput() when the vrele is a 2006-02-01 00:25:26 +00:00
compat Regenerate. 2006-02-04 13:29:09 +00:00
conf Move asr driver from global NOTES to i386-specific NOTES. Requestor 2006-02-05 05:06:04 +00:00
contrib Make pflog a seperate module. As a result pflog_packet() becomes a function 2006-02-05 17:17:32 +00:00
crypto Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
ddb Fix -Wundef. 2005-12-04 02:12:43 +00:00
dev Convert NULL checks into KASSERT (and move them before the first 2006-02-05 17:47:26 +00:00
doc
fs Make UDF endian-safe. 2006-02-03 15:25:52 +00:00
gdb
geom Remove trailing spaces. 2006-02-01 12:06:01 +00:00
gnu Add marker vnodes to ensure that all vnodes associated with the mount point are 2006-01-09 20:42:19 +00:00
i4b Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
i386 Move asr driver from global NOTES to i386-specific NOTES. Requestor 2006-02-05 05:06:04 +00:00
ia64 Remove devices acpi & mem, as they are in defaults already. 2006-02-02 23:41:08 +00:00
isa Tweak how the MD code calls the fooclock() methods some. Instead of 2005-12-22 22:16:09 +00:00
isofs/cd9660 I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
kern Add AUDITVNODE[12] flags to namei(), which cause namei() to audit path 2006-02-05 15:42:01 +00:00
libkern Convert function declarations to ANSI C. 2006-01-22 00:46:40 +00:00
modules an driver not endian clean, so don't enable on sparc64 2006-02-05 17:38:28 +00:00
net Properly initialize args structure before passing it to ipfw_chk(): having 2006-02-03 23:03:07 +00:00
net80211 s/w beacon miss facility; need to add knobs to fiddle with the settings 2006-01-23 21:02:49 +00:00
netatalk - Store pointer to the link-level address right in "struct ifnet" 2005-11-11 16:04:59 +00:00
netatm Convert to ANSI C function declarations. 2006-01-22 01:07:11 +00:00
netgraph Fix module from panic. 2006-01-29 22:06:51 +00:00
netinet Never select the PCB that has INP_IPV6 flag and is bound to :: if 2006-02-04 07:59:17 +00:00
netinet6 shut up strict-aliasing rules warning. 2006-02-05 09:52:40 +00:00
netipsec Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
netipx In spx_attach() and spx_detach(), there is no need to check whether the 2006-01-14 00:05:44 +00:00
netkey Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
netnatm Use sparse initializers for "struct domain" and "struct protosw", 2005-11-09 13:29:16 +00:00
netncp In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error' 2006-01-14 11:40:32 +00:00
netsmb Although we check the return value of copyin(9) while determaining how 2006-01-16 17:03:21 +00:00
nfs
nfs4client Use nfs4_disconnect for connections opened with nfs4_connect. 2006-01-19 22:48:31 +00:00
nfsclient Don't log an error on tcp connection reset, even if we don't get ECONNRESET. 2006-01-20 15:07:18 +00:00
nfsserver - Reorder calls to vrele() after calls to vput() when the vrele is a 2006-02-01 00:25:26 +00:00
opencrypto Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
pc98 MFi386: Enable the ce(4). 2006-02-02 11:14:13 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci Don't add an agp child in vgapci's attach routine if the PCIY_AGP 2006-02-01 15:45:29 +00:00
posix4 mqueue.h has been superceded by sys/mqueue.h thanks to David Xu's work. 2005-11-28 02:58:30 +00:00
powerpc Move the old BSD4.3 tty compatibility from (!BURN_BRIDGES && COMPAT_43) 2006-01-10 09:19:10 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Cast pointers to (uintptr_t) before down-casting to (int). This avoids 2006-02-04 00:14:06 +00:00
sparc64 Hook up le(4) to the build. For now it's only added to the sparc64 GENERIC 2006-01-31 22:34:13 +00:00
sys Add AUDITVNODE[12] flags to namei(), which cause namei() to audit path 2006-02-05 15:42:01 +00:00
tools Fix a leftover "iwi_boot" string. 2006-01-30 16:32:08 +00:00
ufs - Reorder calls to vrele() after calls to vput() when the vrele is a 2006-02-01 00:25:26 +00:00
vm Remove an unnecessary call to pmap_remove_all(). The given page is not 2006-02-04 22:37:10 +00:00
Makefile add nfsclient/, nfs4client/, and rpc/ directories to the 2006-01-10 20:58:27 +00:00