Date: Tue, 20 Jun 2006 12:36:40 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <200606201236.k5KCaehv012198@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gnn 2006-06-20 12:36:40 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_syscalls.c
Log:
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@baesystems.com
MFC after: 1 week
Revision Changes Path
1.230 +2 -2 src/sys/kern/uipc_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606201236.k5KCaehv012198>
