From 65a1304a975c33b46a9faf4d4dc55b1abd72490e Mon Sep 17 00:00:00 2001 From: jfv Date: Fri, 12 Jul 2013 21:14:42 +0000 Subject: [PATCH] Remove the conditional define around the option headers, when building the driver as a module the result of the present system results in INET and INET6 being undefined, and will cause the panic in ixgbe_tso_setup(). The Makefile in the module directory now renders the conditional in the source unnecessary and wrong. MFC after: ASAP - the panic as a module must not get into 9.2 --- sys/dev/ixgbe/ixgbe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index 21159ebde59a..3a444e23ea48 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -33,11 +33,8 @@ /*$FreeBSD$*/ -#ifdef HAVE_KERNEL_OPTION_HEADERS #include "opt_inet.h" #include "opt_inet6.h" -#endif - #include "ixgbe.h" /*********************************************************************