diff options
author | glebius <glebius@FreeBSD.org> | 2005-01-24 12:20:21 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-01-24 12:20:21 +0000 |
commit | d084122f3697505f1422b27c5d64204b1bcf66d4 (patch) | |
tree | ba1c6bf224900d1e45d3b4a24dca1d694803bb9a /sys/nfs4client | |
parent | 14337a61a26ed6e4851d384189e822803a1cb58c (diff) | |
download | FreeBSD-src-d084122f3697505f1422b27c5d64204b1bcf66d4.zip FreeBSD-src-d084122f3697505f1422b27c5d64204b1bcf66d4.tar.gz |
- Convert so_qlen, so_incqlen, so_qlimit fields of struct socket from
short to unsigned short.
- Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > U_SHRTMAX.
Before this change setting somaxconn to smth above 32767 and calling
listen(fd, -1) lead to a socket, which doesn't accept connections at all.
Reviewed by: rwatson
Reported by: Igor Sysoev
Diffstat (limited to 'sys/nfs4client')
0 files changed, 0 insertions, 0 deletions