aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2026-03-14 03:59:51 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2026-03-14 03:59:51 +0000
commita47c870930a728b5d890e8243cc363c788ebddc7 (patch)
treefb515da3b2a7e5550ffc4fa93d3adc7228008ddc
parent7aa1dba6b00ccfb7d66627badc8a7aaa06b02946 (diff)
inpcb: fix up !VIMAGE builds
There are some files that don't include mutex.h and rwlock.h, but use inpcb locking macros. With VIMAGE the net/vnet.h pulls half of the possible kernel includes, masking the problem. The in_pcb.h also used to mask the problem, so restore that. Fixes: 041e9eb1ae094a81e55fbcaba37eb2ac194658cc
-rw-r--r--sys/netinet/in_pcb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index bdf8ff9fb74c..6f842f64775e 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -292,9 +292,9 @@ struct xktls_session {
*/
#include <sys/queue.h>
#include <sys/epoch.h>
-#include <sys/_lock.h>
-#include <sys/_mutex.h>
-#include <sys/_rwlock.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
+#include <sys/rwlock.h>
#include <sys/_smr.h>
#include <net/route.h>
#include <sys/proc.h>