svn commit: r311045 - head/sys/dev/netmap

Adrian Chadd adrian at FreeBSD.org
Mon Jan 2 06:36:13 UTC 2017


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;


More information about the svn-src-head mailing list