cvs commit: src/sys/kern uipc_syscalls.c
George V. Neville-Neil
gnn at FreeBSD.org
Wed Sep 13 02:10:03 PDT 2006
gnn 2006-09-13 09:10:01 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/kern uipc_syscalls.c
Log:
MFC of fix for PR 98858
Properly cast the values of valsize (the size of the value passed in)
in setsockopt so that they can be compared correctly against negative
values. Passing in a negative value had a rather negative effect
on our socket code, making it impossible to open new sockets.
PR: 98858
Submitted by: James.Juran at baesystems.com
Approved by: re
Revision Changes Path
1.221.2.4 +2 -2 src/sys/kern/uipc_syscalls.c
More information about the cvs-all
mailing list