freebsd-dev/cddl
Xin LI 68ce9bc32d Apply upstream 13597:3eac1e8e0f4c (git: illumos-gate@aa846ad9):
Initialize tqent_flags in the userland taskq implementation.  Without
this the assertion of tq->tq_freelist != NULL may fail in taskq_destroy.

The problem is that tqent_flags is never initialized in the userland
implementation while the kernel one does initialize it.  Without proper
initialization, the flag may have its lowest bit set, making it treated
as TQENT_FLAG_PREALLOC and never removing taskq_ent_t from tq_freelist.

MFC after:	2 weeks
2014-11-09 01:42:28 +00:00
..
compat/opensolaris Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
contrib Apply upstream 13597:3eac1e8e0f4c (git: illumos-gate@aa846ad9): 2014-11-09 01:42:28 +00:00
lib Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t 2014-10-21 05:19:08 +00:00
sbin MFV r267565: 2014-07-01 06:43:15 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
usr.bin MFV r267565: 2014-07-01 06:43:15 +00:00
usr.sbin Build plockstat if WITH_PLOCKSTAT is defined. 2014-09-23 18:22:40 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00