From owner-cvs-src@FreeBSD.ORG Sat Aug 27 14:44:11 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4AC716A41F; Sat, 27 Aug 2005 14:44:11 +0000 (GMT) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7225A43D45; Sat, 27 Aug 2005 14:44:11 +0000 (GMT) (envelope-from rodrigc@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 j7REiBuU059907; Sat, 27 Aug 2005 14:44:11 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7REiBVT059906; Sat, 27 Aug 2005 14:44:11 GMT (envelope-from rodrigc) Message-Id: <200508271444.j7REiBVT059906@repoman.freebsd.org> From: Craig Rodrigues Date: Sat, 27 Aug 2005 14:44:11 +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_ioctl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2005 14:44:11 -0000 rodrigc 2005-08-27 14:44:11 UTC FreeBSD src repository Modified files: sys/compat/linux linux_ioctl.c Log: Rewrite linux_ifconf() to be more like ifconf() in net/if.c so that we do not call uiomove() while IFNET_RLOCK() is held. This eliminates the witness warning: Calling uiomove() with the following non-sleepable locks held: exclusive sleep mutex ifnet r = 0 (0xc096dd60) locked @ /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2170 MFC after: 2 days Revision Changes Path 1.129 +39 -25 src/sys/compat/linux/linux_ioctl.c