From owner-svn-src-head@FreeBSD.ORG Sat Sep 20 08:34:57 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52E4DB1E; Sat, 20 Sep 2014 08:34:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E8AAE8E; Sat, 20 Sep 2014 08:34:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8K8YvTQ065036; Sat, 20 Sep 2014 08:34:57 GMT (envelope-from bz@FreeBSD.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8K8YumQ065034; Sat, 20 Sep 2014 08:34:56 GMT (envelope-from bz@FreeBSD.org) Message-Id: <201409200834.s8K8YumQ065034@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bz set sender to bz@FreeBSD.org using -f From: "Bjoern A. Zeeb" Date: Sat, 20 Sep 2014 08:34:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271900 - head/sys/dev/ixl X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2014 08:34:57 -0000 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;