freebsd-dev/sys
Bill Paul b7f6c65f7c Grrrr. Fix a really lame bug that I tripped over while testing my miibus
stuff: unregister_methods() is horribly broken. The idea, if I'm not mistaken,
is that the refcount on a method is decremented, and only when it reaches
zero is the method freed. However desc->method is set to NULL unconditionally
regardless of the refcount, which means the method pointer is trashed the
first time the method is deallocated. The obvious detrimental effect is
that memory is leaked. The not so obvious effect is that when you call
unregister_method() the second time on the same method, you get a NULL
pointer dereference and a panic.

Now I can successfully unload network device drivers and the miibus module
without crashing the system.

*sigh*
1999-08-14 05:11:01 +00:00
..
alpha Fix warnings. (Initializer of promcons did miss an element in the start.) 1999-08-13 16:02:32 +00:00
amd64 The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
boot Merge from sys/boot/i386/libi386/bootinfo.c revision 1.21. 1999-08-13 02:05:07 +00:00
cam Merge the cons.c and cons.h to the best of my ability. alpha may or 1999-08-09 10:35:05 +00:00
coda Don't examine vp->v_tag (see comment in vnode.h) 1999-08-13 13:05:08 +00:00
compat Implementation of the CDROMSUBCHNL ioctl. 1999-08-13 14:44:13 +00:00
compile
conf Reserve bdev/cdev entries for i2o driver. 1999-08-11 05:28:06 +00:00
contrib Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, 1999-08-08 18:43:05 +00:00
ddb Merge the cons.c and cons.h to the best of my ability. alpha may or 1999-08-09 10:35:05 +00:00
dev Fix a warning on the alpha. 1999-08-13 16:17:54 +00:00
fs Add support for device drivers which want to track all open/close 1999-08-13 16:29:27 +00:00
geom Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
gnu The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
i4b Avoid symbol clash in LINT. 1999-08-08 18:17:40 +00:00
i386 Implementation of the CDROMSUBCHNL ioctl. 1999-08-13 14:44:13 +00:00
isa make alpha compile again. 1999-08-09 11:02:45 +00:00
isofs/cd9660 The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
kern Grrrr. Fix a really lame bug that I tripped over while testing my miibus 1999-08-14 05:11:01 +00:00
libkern Use the latest version of these files from OpenBSD. 1999-08-10 05:58:58 +00:00
miscfs Add support for device drivers which want to track all open/close 1999-08-13 16:29:27 +00:00
modules Bring up to date to work with -CURRENT. 1999-08-14 04:56:14 +00:00
msdosfs The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
net Back out redundant check, and remove the MAXMTU comparison as it's 1999-08-06 16:52:04 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet Implement probabilistic rule match in ipfw. Each rule can be associated 1999-08-11 15:34:47 +00:00
netipx Suser() simplification: 1999-04-27 11:18:52 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm
netns
nfs nfs_getcacheblk() can return 0 if the mount is interruptible. It need to be 1999-08-12 18:04:39 +00:00
nfsclient nfs_getcacheblk() can return 0 if the mount is interruptible. It need to be 1999-08-12 18:04:39 +00:00
nfsserver Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, 1999-08-08 18:43:05 +00:00
ntfs The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
pc98 Merge from sys/i386/conf/majors.i386 revision 1.82. 1999-08-13 04:59:47 +00:00
pccard o Add additional printfs for error cases when we can't attach the device. 1999-08-01 18:12:51 +00:00
pci Small tweak: remember to free the tx ring data (which is malloc()ed) if 1999-08-10 21:12:11 +00:00
posix4 Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
powerpc Sync with alc's revision 1.125 of i386/i386/vm_machdep.c. This 1999-08-05 23:38:13 +00:00
rpc
svr4 Previous commit also removed some 'const' qualifiers on args for 1999-07-30 13:44:43 +00:00
sys Add a notice saying that FreeBSD no longer tracks the PPS-API WG's drafts. 1999-08-13 20:56:35 +00:00
tools Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ufs Move the special-casing of stat(2)->st_blksize for device files 1999-08-13 10:56:07 +00:00
vm vm_map_madvise: 1999-08-13 17:45:34 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00