Skip to content

Commit 06b0a78

Browse files
committed
freebsd: ifnet_unlock: use consistent unlock function
1 parent 3982bd1 commit 06b0a78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sys/dev/netmap/netmap_freebsd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ nm_os_ifnet_lock(void)
116116
void
117117
nm_os_ifnet_unlock(void)
118118
{
119-
IFNET_WUNLOCK();
119+
IFNET_RUNLOCK();
120120
}
121121

122122
static int netmap_use_count = 0;

0 commit comments

Comments
 (0)