From owner-freebsd-net@freebsd.org Thu Apr 7 15:40:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88AFCB07818 for ; Thu, 7 Apr 2016 15:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 5F6C415CA for ; Thu, 7 Apr 2016 15:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u37FehFi073919 for ; Thu, 7 Apr 2016 15:40:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 207840] Driver ix-3.1.14 not work without 'options INET6' Date: Thu, 07 Apr 2016 15:40:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 15:40:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207840 Jeff Pieper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.e.pieper@intel.com --- Comment #3 from Jeff Pieper --- Thanks for the report. Without options INET6 defined in the kernel, removing the -DINET6 flag from the Makefile should allow the driver to load, but it doesn't compile: ix_txrx.c:813:4: error: use of undeclared identifier 'ip6'; did you mean 'i= p'? ip6 =3D (struct ip6_hdr *)(l3d); ^~~ ip ix_txrx.c:730:13: note: 'ip' declared here struct ip *ip; ^ ix_txrx.c:813:8: error: incompatible pointer types assigning to 'struct ip = *' from 'struct ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 =3D (struct ip6_hdr *)(l3d); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ix_txrx.c:815:14: error: use of undeclared identifier 'ip6'; did you mean '= ip'? ipproto =3D ip6->ip6_nxt; ^~~ ip ix_txrx.c:730:13: note: 'ip' declared here struct ip *ip; ^ ix_txrx.c:815:19: error: no member named 'ip6_ctlun' in 'struct ip' ipproto =3D ip6->ip6_nxt; ~~~ ^ @/netinet/ip6.h:89:18: note: expanded from macro 'ip6_nxt' #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt ^ 4 errors generated.=20 We will investigate. --=20 You are receiving this mail because: You are the assignee for the bug.=