Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 13:17:27 -0400
From:      Ed Maste <emaste@phaedrus.sandvine.ca>
To:        freebsd-stable@freebsd.org
Subject:   [PATCH] options NET_WITH_GIANT has no effect on 5.x
Message-ID:  <20050926171727.GA95971@sandvine.com>

next in thread | raw e-mail | index | archive | help

--p4qYPpj5QlsIQJ0K
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--p4qYPpj5QlsIQJ0K
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="netisr.c.patch"

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>

--p4qYPpj5QlsIQJ0K--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050926171727.GA95971>