1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Bill Paul 9c9743b67b Correct the sanity test length calculation in nfsrv_readdirplus(): len is
being incremented by 4 bytes too few each time through the loop, which
allows more data into the mbuf chain that we really want. In the worst
case, when we're using 32K read/write sizes with a TCP client, this causes
readdirplus replies to sometimes exceed NFS_MAXPACKET which leads to a
panic. This problem cropped up for me using an IRIX 6.5.4 NFSv3 TCP client
with 32K read/write sizes, however supposedly it can be triggered by
WinNT NFS servers too. In theory, it can probably be triggered by any
NFS v3 implementation using TCP as long as it's using the maxiumum block
size.

Reviewed by: Matthew Dillon <dillon@backplane.com>
1999-07-29 21:42:57 +00:00
..
alpha Fix an unbelievably stupid typo that cases as500 & as600 machines booted 1999-07-29 19:09:38 +00:00
amd64 Formatting-only cleanup accidentally omitted from the patch merge in the 1999-07-29 18:47:39 +00:00
boot Activate "arc" (ARC / AlphaBIOS loader) on Alpha. 1999-07-28 20:32:44 +00:00
cam disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive. 1999-07-11 06:10:47 +00:00
coda Remove the RCS "Log" and all the verbiage it has generated. 1999-07-21 12:51:36 +00:00
compat Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
compile
conf Major update to the kernel's BIOS-calling ability. 1999-07-29 01:49:19 +00:00
contrib Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ddb The following patch will remove a hack introduced in 1999-07-14 10:53:41 +00:00
dev Revert rev 1.149. Bruce convinced me that the problem already disappeared 1999-07-29 11:27:33 +00:00
fs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
geom Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
gnu Don't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads. 1999-07-25 02:56:17 +00:00
i4b Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
i386 Formatting-only cleanup accidentally omitted from the patch merge in the 1999-07-29 18:47:39 +00:00
isa Revert rev 1.149. Bruce convinced me that the problem already disappeared 1999-07-29 11:27:33 +00:00
isofs/cd9660 I have not one single time remembered the name of this function correctly 1999-07-17 18:43:50 +00:00
kern lutimes() bug: FOLLOW should be NOFOLLOW for this one. 1999-07-29 17:02:56 +00:00
libkern Add a fast version of bcmp which compares longwords at a time. 1999-06-19 16:30:28 +00:00
miscfs Now a dev_t is a pointer to struct specinfo which is shared by all specdev 1999-07-20 09:47:55 +00:00
modules Add a module Makefile for the PNIC driver. 1999-07-28 02:21:56 +00:00
msdosfs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
net Don't complain if 0 bytes are written to the tun device, simply 1999-07-26 12:11:10 +00:00
netatalk
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet 8 -> NBBy 1999-07-28 22:27:27 +00:00
netipx
netkey
netnatm
netns
nfs Correct the sanity test length calculation in nfsrv_readdirplus(): len is 1999-07-29 21:42:57 +00:00
nfsclient I have not one single time remembered the name of this function correctly 1999-07-17 18:43:50 +00:00
nfsserver Correct the sanity test length calculation in nfsrv_readdirplus(): len is 1999-07-29 21:42:57 +00:00
ntfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pc98 Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
pccard Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
pci Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
posix4
powerpc Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are 1999-07-28 07:57:48 +00:00
rpc
svr4 Rename struct members sa_siginfo. POSIX reserves identifiers starting 1999-07-06 06:55:29 +00:00
sys Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +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 Fixed access timestamp bugs: 1999-07-25 02:07:16 +00:00
vm Reduce the number of "magic constants" used for page coloring 1999-07-22 06:04:17 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00