Date: Mon, 24 Aug 2020 13:54:58 +0000 (UTC) From: Mark Johnston <markj@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: r364679 - stable/12/sys/compat/linux Message-ID: <202008241354.07ODswNa079759@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Aug 24 13:54:58 2020 New Revision: 364679 URL: https://svnweb.freebsd.org/changeset/base/364679 Log: MFC r364328: Fix a lock leak when emulating futex(FUTEX_WAIT_BITSET). Modified: stable/12/sys/compat/linux/linux_futex.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/compat/linux/linux_futex.c ============================================================================== --- stable/12/sys/compat/linux/linux_futex.c Mon Aug 24 13:54:41 2020 (r364678) +++ stable/12/sys/compat/linux/linux_futex.c Mon Aug 24 13:54:58 2020 (r364679) @@ -643,6 +643,7 @@ futex_wait(struct futex *f, struct waiting_proc *wp, s if (bitset == 0) { LIN_SDT_PROBE1(futex, futex_wait, return, EINVAL); + futex_put(f, wp); return (EINVAL); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008241354.07ODswNa079759>