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:	041e9eb1ae
This commit is contained in:
Gleb Smirnoff
2026-03-13 20:59:51 -07:00
parent 7aa1dba6b0
commit a47c870930
+3 -3
View File
@@ -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>