From owner-cvs-all@FreeBSD.ORG Sat Jul 9 12:26:23 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3207F16A41C; Sat, 9 Jul 2005 12:26:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E831543D46; Sat, 9 Jul 2005 12:26:22 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j69CQMAd053040; Sat, 9 Jul 2005 12:26:22 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j69CQMYa053039; Sat, 9 Jul 2005 12:26:22 GMT (envelope-from jhb) Message-Id: <200507091226.j69CQMYa053039@repoman.freebsd.org> From: John Baldwin Date: Sat, 9 Jul 2005 12:26:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/linux linux_socket.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 12:26:23 -0000 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