Date: Sun, 25 Oct 2020 07:48:08 +0000 (UTC) From: Vincenzo Maffione <vmaffione@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r367036 - stable/12/sys/dev/netmap Message-ID: <202010250748.09P7m8jt068257@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010250748.09P7m8jt068257>