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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to