Date: Sat, 9 Jul 2005 12:26:22 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_socket.c Message-ID: <200507091226.j69CQMYa053039@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-07-09 12:26:22 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_socket.c
Log:
Add missing locking to linux_connect() so that it can be marked MP safe:
- Conditionally grab Giant around the EISCONN hack at the end based on
debug.mpsafenet.
- Protect access to so_emuldata via SOCK_LOCK.
Reviewed by: rwatson
Approved by: re (scottl)
Revision Changes Path
1.59 +15 -8 src/sys/compat/linux/linux_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507091226.j69CQMYa053039>
