aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap
diff options
context:
space:
mode:
authorVincenzo Maffione <vmaffione@FreeBSD.org>2020-10-22 20:21:11 +0000
committerVincenzo Maffione <vmaffione@FreeBSD.org>2020-10-22 20:21:11 +0000
commit174f809da51057394107af98266a690dc4d9cc9d (patch)
tree08cf8cc543523312e10f0ced65791eda4553c1d1 /sys/dev/netmap
parente416eecbb9f7a5275d1d059ae720adc24af4d337 (diff)
Notes
Diffstat (limited to 'sys/dev/netmap')
-rw-r--r--sys/dev/netmap/netmap_mem2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/netmap/netmap_mem2.c b/sys/dev/netmap/netmap_mem2.c
index 01ecf6cef186..7d798ee5a7fa 100644
--- a/sys/dev/netmap/netmap_mem2.c
+++ b/sys/dev/netmap/netmap_mem2.c
@@ -2007,7 +2007,6 @@ netmap_mem2_if_new(struct netmap_adapter *na, struct netmap_priv_d *priv)
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;
}