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>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------050903060701080907090208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit A misplaced #endif in ixgbe_ioctl() causes all sorts of problems when INET and INET6 are undefined. Pls. see the attached patch. --------------050903060701080907090208 Content-Type: text/plain; name="ixgbe.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ixgbe.c.diff" --- 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) { --------------050903060701080907090208--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9C6190.4030404>