svn commit: r222787 - head/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Jun 6 21:45:32 UTC 2011
Author: bz
Date: Mon Jun 6 21:45:32 2011
New Revision: 222787
URL: http://svn.freebsd.org/changeset/base/222787
Log:
Unbreak kernels with non-default PCBGROUP included but no WITNESS.
Rather than including lock.h in in_pcbgroup.c in right order, fix it
for all consumers of in_pcb.h by further header file pollution under
#ifdef KERNEL.
Reported by: Pan Tsu (inyaoo gmail.com)
Modified:
head/sys/netinet/in_pcb.h
Modified: head/sys/netinet/in_pcb.h
==============================================================================
--- head/sys/netinet/in_pcb.h Mon Jun 6 21:45:09 2011 (r222786)
+++ head/sys/netinet/in_pcb.h Mon Jun 6 21:45:32 2011 (r222787)
@@ -44,6 +44,7 @@
#include <sys/_rwlock.h>
#ifdef _KERNEL
+#include <sys/lock.h>
#include <sys/rwlock.h>
#include <net/vnet.h>
#include <vm/uma.h>
More information about the svn-src-all
mailing list