Date: Sat, 20 Sep 2014 08:34:56 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271900 - head/sys/dev/ixl Message-ID: <201409200834.s8K8YumQ065034@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sat Sep 20 08:34:56 2014 New Revision: 271900 URL: http://svnweb.freebsd.org/changeset/base/271900 Log: Properly hide calls to ARP under #ifdef INET to allow IPv6-only kernels to compile. MFC atfer: 3 days Modified: head/sys/dev/ixl/if_ixl.c head/sys/dev/ixl/if_ixlv.c Modified: head/sys/dev/ixl/if_ixl.c ============================================================================== --- head/sys/dev/ixl/if_ixl.c Sat Sep 20 08:18:48 2014 (r271899) +++ head/sys/dev/ixl/if_ixl.c Sat Sep 20 08:34:56 2014 (r271900) @@ -921,8 +921,10 @@ ixl_ioctl(struct ifnet * ifp, u_long com ifp->if_flags |= IFF_UP; if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) ixl_init(pf); +#ifdef INET if (!(ifp->if_flags & IFF_NOARP)) arp_ifinit(ifp, ifa); +#endif } else error = ether_ioctl(ifp, command, data); break; Modified: head/sys/dev/ixl/if_ixlv.c ============================================================================== --- head/sys/dev/ixl/if_ixlv.c Sat Sep 20 08:18:48 2014 (r271899) +++ head/sys/dev/ixl/if_ixlv.c Sat Sep 20 08:34:56 2014 (r271900) @@ -755,8 +755,10 @@ ixlv_ioctl(struct ifnet *ifp, u_long com ifp->if_flags |= IFF_UP; if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) ixlv_init(sc); +#ifdef INET if (!(ifp->if_flags & IFF_NOARP)) arp_ifinit(ifp, ifa); +#endif } else error = ether_ioctl(ifp, command, data); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409200834.s8K8YumQ065034>