freebsd-skq/sys/nfsserver
Ian Dowse 3aed248695 Limit to the maximum allowed reply size the amount of data that
nfsrv_readdir and nfsrv_readdirplus can return. A client request
containing an over-large `count' field could trigger the "Bad nfs
svc reply" panic in nfs_syscalls.c.

Spotted while trying to reproduce kern/37304, which turned out to
be fixed in FreeBSD a long time ago.

MFC after:	1 week
2002-04-21 16:14:54 +00:00
..
nfs_serv.c
nfs_srvcache.c
nfs_srvsock.c
nfs_srvsubs.c
nfs_syscalls.c
nfs.h
nfsm_subs.h
nfsrvcache.h
nfsrvstats.h