| Summary: | 12-ALPHA3 r338309: nooptions INET6 causes kernel build error in al_eth.c | ||
|---|---|---|---|
| Product: | Base System | Reporter: | O. Hartmann <ohartmann> |
| Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | bz, emaste, manu, mw, mw |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | arm64 | ||
| OS: | Any | ||
|
Description
O. Hartmann
2018-08-25 08:34:24 UTC
Hi, Thanks, I've added Marcin as iirc Semihalf did the annapurna port. I'll have a look myself if Marcin can't Hi, We will fix it - thank you for the report. Marcin A commit references this bug: Author: mw Date: Tue Aug 28 17:09:41 UTC 2018 New revision: 338351 URL: https://svnweb.freebsd.org/changeset/base/338351 Log: Use ip/ipv6 structures in al_eth only if they are supported The ip/ipv6 header files are included only if the appropriate definition exists, but the driver was missing similar checks when using the ip and ip6_hdr structures. If the kernel was not built with the INET or INET6 option, the driver was preventing kernel from being built. To fix that, the missing ifdef checks were added to the driver. PR: Bug 230886 Submitted by: Michal Krawczyk <mk@semihalf.com> Reported by: O. Hartmann Approved by: re (gjb) Obtained from: Semihalf MFC after: 1 week Sponsored by: Amazon, Inc. Changes: head/sys/dev/al_eth/al_eth.c |