aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_witness.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 1e40727e2de5..0a2dda6a94e6 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -323,6 +323,13 @@ static struct witness_order_list_entry order_lists[] = {
{ "ddp_mtx", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
+ * BPF
+ */
+ { "bpf global lock", &lock_class_mtx_sleep },
+ { "bpf interface lock", &lock_class_mtx_sleep },
+ { "bpf cdev lock", &lock_class_mtx_sleep },
+ { NULL, NULL },
+ /*
* spin locks
*/
#ifdef SMP