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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user