svn commit: r304704 - in stable/11/sys: conf kern net sys

Dmitry Luhtionov dmitryluhtionov at gmail.com
Tue Aug 23 21:52:50 UTC 2016


Hi.

In subr_gtaskqueue.c - taskqgroup_bind()


        for (i = 0; i < qgroup->tqg_cnt; i++) {
                gtask = malloc(sizeof (*gtask), M_DEVBUF, M_NOWAIT);
                GTASK_INIT(&gtask->bt_task, 0, 0, taskqgroup_binder, gtask);

Why we are not check (gtask == NULL) ?


More information about the svn-src-all mailing list