svn commit: r193179 - projects/pnet/sys/net

Robert Watson rwatson at FreeBSD.org
Sun May 31 18:03:07 UTC 2009


Author: rwatson
Date: Sun May 31 18:03:06 2009
New Revision: 193179
URL: http://svn.freebsd.org/changeset/base/193179

Log:
  Mysteriously, ipfilter includes netisr.h in a userland compiled program.
  Defer fixing this the easy way for now.

Modified:
  projects/pnet/sys/net/netisr.h

Modified: projects/pnet/sys/net/netisr.h
==============================================================================
--- projects/pnet/sys/net/netisr.h	Sun May 31 17:23:27 2009	(r193178)
+++ projects/pnet/sys/net/netisr.h	Sun May 31 18:03:06 2009	(r193179)
@@ -26,10 +26,7 @@
 
 #ifndef _NET_NETISR_H_
 #define _NET_NETISR_H_
-
-#ifndef _KERNEL
-#error "no user-serviceable parts inside"
-#endif
+#ifdef _KERNEL
 
 /*
  * The netisr (network interrupt service routine) provides a deferred
@@ -152,4 +149,5 @@ void	netisr_sched_poll(void);
 void	netisr_poll(void);
 void	netisr_pollmore(void);
 
+#endif /* !_KERNEL */
 #endif /* !_NET_NETISR_H_ */


More information about the svn-src-projects mailing list