freebsd-dev/sys
Warner Losh f40d7afa05 Fix the panics for real this time. When something can't be allocated,
we need to delete the info from the list as well as zero out the res
pointer we saved in the code.

Also made a few style(9) changes while I was at it.  Don't use if
(ptr) or if (!ptr), but compare against NULL.  Compare against NULL
rather than 0.  Don't have useless blocks.

There are likely other problems as well, but at least the wi based
wireless card with memory listed in its cis doesn't panic the system
when the card is inserted.
2001-05-10 06:55:39 +00:00
..
alpha add alpha_pci_route_interrupt method 2001-05-10 06:52:56 +00:00
amd64 When setting up the frame to invoke a signal handler, preserve the 2001-05-06 02:13:12 +00:00
arm/include
boot FICL 2.05 has a flawed definition of BASE. Fix it. 2001-05-10 05:13:09 +00:00
cam Exploit recent improvements in the disk minilayer to simplify error 2001-05-08 08:30:48 +00:00
coda Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
compat Avoid overflow when converting ticks to jiffies. 2001-05-09 11:41:54 +00:00
compile
conf Add in commented out entries for NEWCARD so that they are at least 2001-05-09 19:37:25 +00:00
contrib/dev Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
crypto Kernel crypto need binary key material, not symbolic ascii. 2001-03-10 13:02:58 +00:00
ddb Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
dev Fix the panics for real this time. When something can't be allocated, 2001-05-10 06:55:39 +00:00
fs Remove unneeded devfs_badop() 2001-05-06 17:40:34 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu When running with soft updates, track the number of blocks and files 2001-05-08 07:42:20 +00:00
i4b pseudo-device -> device in kernel config. 2001-05-01 11:26:14 +00:00
i386 Add in commented out entries for NEWCARD so that they are at least 2001-05-09 19:37:25 +00:00
ia64 Add include of sys/mutex.h and resort include of sys/lock.h. 2001-05-09 16:56:48 +00:00
isa Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
isofs/cd9660 Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
kern Remove an 'optimization' I hope to never see again. 2001-05-08 09:09:18 +00:00
libkern Add function prototypes and base module for kernel side iconv library. 2001-04-09 09:39:29 +00:00
miscfs Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
modules Add a ``digi'' driver. 2001-05-02 01:08:09 +00:00
msdosfs Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
net Get IP multicast working on VLAN devices: 2001-05-02 16:12:58 +00:00
netatalk
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Don't reference a node after we dropped a reference to it 2001-04-11 22:04:47 +00:00
netinet Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netinet6 Fix typo in previous commit. 2001-04-20 08:43:20 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netns
netsmb Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfs Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfsclient Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfsserver Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ntfs Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
nwfs Implement vop_std{get|put}pages() and add them to the default vop[]. 2001-05-01 08:34:45 +00:00
pc98 Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
pccard Use enumeration values for CARD_SET_RES_FLAGS. 2001-05-08 23:59:13 +00:00
pci The sk driver developed a bug when the multicast code was changed to 2001-05-09 18:22:42 +00:00
posix4 o First step in cleaning up authorization code for the posix4 2001-05-06 16:15:42 +00:00
powerpc Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4
sys Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs When running with soft updates, track the number of blocks and files 2001-05-08 07:42:20 +00:00
vm Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
Makefile