Date: Mon, 2 Jan 2017 06:36:12 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r311045 - head/sys/dev/netmap Message-ID: <201701020636.v026aC1V030269@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701020636.v026aC1V030269>