1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
John Polstra 68f956b85e Fix a route table leak in rtalloc() and rtalloc_ign(). It is
possible for ro->ro_rt to be non-NULL even though the RTF_UP flag
is cleared.  (Example: a routing daemon or the "route" command
deletes a cloned route in active use by a TCP connection.)  In that
case, the code was clobbering a reference to the routing table
entry without decrementing the entry's reference count.

The splnet() call probably isn't needed, but I haven't been able
to prove that yet.  It isn't significant from a performance standpoint
since it is executed very rarely.

Reviewed by:	wollman and others in the freebsd-current mailing list
1999-12-09 17:09:37 +00:00
..
alpha [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the 1999-12-08 17:44:04 +00:00
amd64 Finally use the new ata driver. 1999-12-08 09:19:37 +00:00
boot Remove BAD144 support, it has already been disabled for some time. 1999-12-08 09:33:00 +00:00
cam Revamp the devstat priority system. All disks now have the same priority. 1999-12-08 04:45:23 +00:00
coda s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
compat Remove unnecessary includes 1999-12-08 12:01:59 +00:00
compile
conf Merge from sys/i386/conf/options.i386 rev 1.128. 1999-12-09 12:16:29 +00:00
contrib Revamp the devstat priority system. All disks now have the same priority. 1999-12-08 04:45:23 +00:00
ddb
dev Merge _isa and _isasubr since only one function remained in _isasubr 1999-12-09 02:42:42 +00:00
fs Remove unused #includes. 1999-12-08 08:59:40 +00:00
geom Revamp the devstat priority system. All disks now have the same priority. 1999-12-08 04:45:23 +00:00
gnu struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
i4b Temporary adjustment to build after pnp changes. There is a new version 1999-12-07 12:06:31 +00:00
i386 New netgraph node type 'pptpgre': this performs GRE encapsulation 1999-12-08 18:55:39 +00:00
isa Fix a pair of silly warnings that I introduced (that would have been 1999-12-06 17:52:20 +00:00
isofs/cd9660 Commit the kernel part of our DVD support. Nothing much to say really, 1999-12-07 22:25:28 +00:00
kern Make adjtime(2) adjust boottime so it doesn't cause non-monotonous 1999-12-08 10:02:12 +00:00
libkern Eliminate compiler warning. 1999-12-01 22:56:51 +00:00
miscfs Remove unused #includes. 1999-12-08 08:59:40 +00:00
modules Update man page: BPF is supported even in the KLD version. 1999-12-09 00:25:37 +00:00
msdosfs struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
net Fix a route table leak in rtalloc() and rtalloc_ign(). It is 1999-12-09 17:09:37 +00:00
netatalk
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph New netgraph node type 'pptpgre': this performs GRE encapsulation 1999-12-08 18:55:39 +00:00
netinet Make this buildable with MROUTING defined. 1999-12-08 11:57:36 +00:00
netinet6 rtcalloc() is removed because it turned out not to be necessary for FreeBSD. 1999-12-09 08:56:50 +00:00
netipx
netkey KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
netnatm
netncp
netns
nfs The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsclient The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsserver nm_srtt and nm_sdrtt are arrays[4]. Remove explicit initialization 1999-11-22 04:50:09 +00:00
ntfs Merged NetBSD version, as they have done improvements: 1999-12-03 20:37:40 +00:00
nwfs Remove abuse of struct nameidata. 1999-11-27 17:46:04 +00:00
pc98 Backed out previous commit because it contains wrong changes. 1999-12-09 14:54:02 +00:00
pccard Switch to using suspend/resume methods rather than the APM hooks. 1999-12-08 07:55:20 +00:00
pci [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the 1999-12-08 17:44:04 +00:00
posix4
powerpc Make this compile again. (missing #include for RFPROC) 1999-12-06 18:12:29 +00:00
rpc
svr4 Remove unnecessary includes 1999-12-08 12:01:59 +00:00
sys [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the 1999-12-08 17:44:04 +00:00
tools Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ufs Remove the 'alpha, use at your own risk' death-statement. 1999-12-03 00:40:31 +00:00
vm User ldt sharing. 1999-12-06 04:53:08 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00