[Bug 282778] net/realtek-re-kmod: build error since 1500027 (struct ifnet is now hidden)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 09:43:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282778

            Bug ID: 282778
           Summary: net/realtek-re-kmod: build error since 1500027 (struct
                    ifnet is now hidden)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: olivier@freebsd.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Hi,

looks like a long due change switch to default on current:
https://lists.freebsd.org/archives/freebsd-net/2024-November/005983.html

f_re.c:1270:37: error: incomplete definition of type 'struct ifnet'
 1270 |         sc->re_rx_desc_buf_sz = (ifp->if_mtu > ETHERMTU) ? ifp->if_mtu:
ETHERMTU;
      |                                  ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag
belongs to */
      |                ^

-- 
You are receiving this mail because:
You are the assignee for the bug.