Date: Fri, 8 Dec 2017 10:31:03 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r326684 - stable/11/sys/kern Message-ID: <201712081031.vB8AV3gE055802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Dec 8 10:31:02 2017 New Revision: 326684 URL: https://svnweb.freebsd.org/changeset/base/326684 Log: MFC r326429: Destroy seltd st_mtx and st_wait in seltdfini(). Modified: stable/11/sys/kern/sys_generic.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/sys_generic.c ============================================================================== --- stable/11/sys/kern/sys_generic.c Fri Dec 8 10:05:23 2017 (r326683) +++ stable/11/sys/kern/sys_generic.c Fri Dec 8 10:31:02 2017 (r326684) @@ -1902,6 +1902,8 @@ seltdfini(struct thread *td) if (stp->st_free2) uma_zfree(selfd_zone, stp->st_free2); td->td_sel = NULL; + cv_destroy(&stp->st_wait); + mtx_destroy(&stp->st_mtx); free(stp, M_SELECT); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712081031.vB8AV3gE055802>