[PATCH] options NET_WITH_GIANT has no effect on 5.x

Ed Maste emaste at phaedrus.sandvine.ca
Mon Sep 26 10:17:29 PDT 2005


I tried to build a kernel with options NET_WITH_GIANT and discovered
that debug_mpsafenet is still set to 1.  It seems that when this was
MFC'd the #include "opt_net.h" was missed; the attached patch should
correct this.

--
Ed Maste, Sandvine Incorporated
-------------- next part --------------
Index: netisr.c
===================================================================
RCS file: /usr/cvs/src/sys/net/netisr.c,v
retrieving revision 1.10.2.3
diff -u -3 -r1.10.2.3 netisr.c
--- netisr.c	14 Oct 2004 19:19:24 -0000	1.10.2.3
+++ netisr.c	26 Sep 2005 17:07:14 -0000
@@ -27,6 +27,8 @@
  * $FreeBSD$
  */
 
+#include "opt_net.h"
+
 #include <sys/param.h>
 #include <sys/bus.h>
 #include <sys/rtprio.h>


More information about the freebsd-stable mailing list