Date: Mon, 17 Oct 2011 20:40:40 +0330 From: Hooman Fazaeli <hoomanfazaeli@gmail.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Jack Vogel <jfvogel@gmail.com> Subject: misplaced #endif in ixgbe Message-ID: <4E9C6190.4030404@gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
A misplaced #endif in ixgbe_ioctl() causes all sorts of problems
when INET and INET6 are undefined. Pls. see the attached patch.
[-- Attachment #2 --]
--- ixgbe.c.orig 2011-10-17 20:37:17.000000000 +0330
+++ ixgbe.c 2011-10-17 20:38:40.000000000 +0330
@@ -898,8 +898,8 @@
arp_ifinit(ifp, ifa);
} else
error = ether_ioctl(ifp, command, data);
- break;
#endif
+ break;
case SIOCSIFMTU:
IOCTL_DEBUGOUT("ioctl: SIOCSIFMTU (Set Interface MTU)");
if (ifr->ifr_mtu > IXGBE_MAX_FRAME_SIZE - ETHER_HDR_LEN) {
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9C6190.4030404>
