A misplaced #endif in ixgbe_ioctl() causes all sorts of problems
when INET and INET6 are undefined. Pls. see the attached patch.



--- 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) {
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to