cvs commit: src/sys/compat/linux linux_socket.c
John Baldwin
jhb at FreeBSD.org
Sat Jul 9 12:26:23 GMT 2005
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
More information about the cvs-src
mailing list