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

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278043

            Bug ID: 278043
           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 potentially
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 checks
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 this
check to fail, and therefore the DHCP search and the rest of the diskless nfs
root process to fail as well.

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

Not yet verified for other platforms.

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

help

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