Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2024 05:51:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278044] Diskless nfs root BOOTP/DHCP Broken
Message-ID:  <bug-278044-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278044

            Bug ID: 278044
           Summary: Diskless nfs root BOOTP/DHCP Broken
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: richard@annexi-strayline.com

Commit 713264f6b8bc5f927dd52cf8ffcccfa397034fec (March 6 2023) has potentia=
lly
broken BOOTP/DHCP functionality for nfsroot diskless start-up.

This commit adds a check to the end of netinet/in_pcb.c:in_pcbladdr that ch=
ecks
for a source address equivalent to INADDR_ANY.

Unfortunately as part of the diskless BOOTP/DHCP process (nfs/bootp_subr.c =
et
al), the interface's address is (effectively) set to INADDR_ANY, causing th=
is
check to fail, and therefore the DHCP search and the rest of the diskless n=
fs
root process to fail as well.

Tested/discovered and analyzed on ARM64/RPI4, 14.0-RELEASE.

Not yet verified for other platforms.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278044-227>