svn commit: r367036 - stable/12/sys/dev/netmap
Vincenzo Maffione
vmaffione at FreeBSD.org
Sun Oct 25 07:48:08 UTC 2020
Author: vmaffione
Date: Sun Oct 25 07:48:07 2020
New Revision: 367036
URL: https://svnweb.freebsd.org/changeset/base/367036
Log:
MFC r366952
netmap: fix mutex double unlock bug
https://github.com/luigirizzo/netmap/pull/733
Submitted by: brian90013
Modified:
stable/12/sys/dev/netmap/netmap_mem2.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/netmap/netmap_mem2.c
==============================================================================
--- stable/12/sys/dev/netmap/netmap_mem2.c Sun Oct 25 01:36:33 2020 (r367035)
+++ stable/12/sys/dev/netmap/netmap_mem2.c Sun Oct 25 07:48:07 2020 (r367036)
@@ -2007,7 +2007,6 @@ netmap_mem2_if_new(struct netmap_adapter *na, struct n
len = sizeof(struct netmap_if) + (ntot * sizeof(ssize_t));
nifp = netmap_if_malloc(na->nm_mem, len);
if (nifp == NULL) {
- NMA_UNLOCK(na->nm_mem);
return NULL;
}
More information about the svn-src-stable-12
mailing list