Bug 278044

Summary: Diskless nfs root BOOTP/DHCP Broken
Product: Base System Reporter: Richard Wai <richard>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed DUPLICATE    
Severity: Affects Some People    
Priority: ---    
Version: 14.0-RELEASE   
Hardware: Any   
OS: Any   

Description Richard Wai 2024-03-30 05:51:12 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-03-30 09:41:12 UTC

*** This bug has been marked as a duplicate of bug 278043 ***