diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index d09ab6f8665e..069804eaadbd 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -361,6 +361,12 @@ static struct witness_order_list_entry order_lists[] = { { "nfsd_mtx", &lock_class_mtx_sleep }, { "so_snd", &lock_class_mtx_sleep }, { NULL, NULL }, + /* + * Netgraph + */ + { "ng_node", &lock_class_mtx_sleep }, + { "ng_worklist", &lock_class_mtx_sleep }, + { NULL, NULL }, /* * CDEV */ @@ -390,8 +396,6 @@ static struct witness_order_list_entry order_lists[] = { { "scc_hwmtx", &lock_class_mtx_spin }, { "uart_hwmtx", &lock_class_mtx_spin }, { "zstty", &lock_class_mtx_spin }, - { "ng_node", &lock_class_mtx_spin }, - { "ng_worklist", &lock_class_mtx_spin }, { "fast_taskqueue", &lock_class_mtx_spin }, { "intr table", &lock_class_mtx_spin }, { "sleepq chain", &lock_class_mtx_spin },