From owner-svn-src-all@freebsd.org Mon Jan 2 06:36:13 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B395C9BA7A; Mon, 2 Jan 2017 06:36:13 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06D731516; Mon, 2 Jan 2017 06:36:12 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v026aCaK030270; Mon, 2 Jan 2017 06:36:12 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v026aC1V030269; Mon, 2 Jan 2017 06:36:12 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201701020636.v026aC1V030269@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Mon, 2 Jan 2017 06:36:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r311045 - head/sys/dev/netmap X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2017 06:36:13 -0000 Author: adrian Date: Mon Jan 2 06:36:12 2017 New Revision: 311045 URL: https://svnweb.freebsd.org/changeset/base/311045 Log: [netmap] call RLOCK /and/ RUNLOCK. Reported by: olivier Modified: head/sys/dev/netmap/netmap_freebsd.c Modified: head/sys/dev/netmap/netmap_freebsd.c ============================================================================== --- head/sys/dev/netmap/netmap_freebsd.c Mon Jan 2 03:18:54 2017 (r311044) +++ head/sys/dev/netmap/netmap_freebsd.c Mon Jan 2 06:36:12 2017 (r311045) @@ -98,7 +98,7 @@ nm_os_ifnet_lock(void) void nm_os_ifnet_unlock(void) { - IFNET_WUNLOCK(); + IFNET_RUNLOCK(); } static int netmap_use_count = 0;