freebsd_network: Print the taskqueue name in the timeout KASSERT.
Should help with diagnosing #17634.
This commit is contained in:
parent
45f4882a72
commit
49fd143d15
@ -357,7 +357,8 @@ taskqueue_timeout_func(void *arg)
|
||||
|
||||
timeout_task = arg;
|
||||
queue = timeout_task->q;
|
||||
KASSERT((timeout_task->f & DT_CALLOUT_ARMED) != 0, ("Stray timeout"));
|
||||
KASSERT((timeout_task->f & DT_CALLOUT_ARMED) != 0,
|
||||
("stray timeout ('%s')", timeout_task->q->tq_name));
|
||||
timeout_task->f &= ~DT_CALLOUT_ARMED;
|
||||
queue->tq_callouts--;
|
||||
taskqueue_enqueue_locked(timeout_task->q, &timeout_task->t, status);
|
||||
|
Loading…
Reference in New Issue
Block a user