Date: Sun, 20 Jun 2004 17:50:42 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200406201750.i5KHogbM014506@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-06-20 17:50:42 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
Log:
When retrieving the SO_LINGER socket option for user space, hold the
socket lock over pulling so_options and so_linger out of the socket
structure in order to retrieve a consistent snapshot. This may be
overkill if user space doesn't require a consistent snapshot.
Revision Changes Path
1.185 +7 -0 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406201750.i5KHogbM014506>
