From nobody Sat Mar 30 05:51:12 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V65xF1ZSBz5GGdb for ; Sat, 30 Mar 2024 05:51:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V65xD6Y5Nz4HrB for ; Sat, 30 Mar 2024 05:51:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711777872; a=rsa-sha256; cv=none; b=yJyG3VuLl3qH2YgJoW3RUmspwpyYsw7TyoYeyYigC2wQl7JjudT14OtFDYewKn3BsntnV2 mOLACeb4Mq0CSs2Sv1fR1eAJ94wN8Vi30LnPmXuudqwiy9vEfi2erYAnNr9CREOA52h0F8 pG+fy0Lz17082xm8YX1HXv3htWtNaxZslbLmU3HANVaHV98sORaW2Oonu/yoe2og/AYrx2 UOIUA6uZYjsos/fAzLm6IaKaa2yNfU2mID/P73aqad6yxEviIkyJk8Ds93fu7h7Nfou5Cf osCphu8Slfx0HhT32OQyVfaW+KkR1/IdRHcaUT0hPsp3c8DqyJFnEpYOPd6zaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711777872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tEhkI/AorKXEnRkEHhIiXetSBRjqynKv9MpfCnZEmeg=; b=VXvBB6IeDVzOLGK8UkISc5yML2niKw/EL1xXS7WkzoxCNQePacoNeSjAh1I/SoEVaq/xnx aY9g/3ZahScQQm/gs65VC35ikZoMs3mWczjK0/c2+dmcK1VgP2ammhtSsT3zAoFuyZGVSE Ww7ojGtUOQ465RLQqOai8ELaSTiwKHcbLrSlpIwl4azFSXFuf+GYs7UjxEXIFlAp2evWHP //J+BJiYVTg2g5iYs7aEQNg5hJpkHnTWMS78mkL+q7k93sK1PC8M3ntlBD57aRxxy4mQmY KG/XZSauaRY6dlhrKnhPk7KWgSyxBjbsE8UyxDzbDGwpXAq0NkfufYzsVzeLWg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V65xD67Myzhyv for ; Sat, 30 Mar 2024 05:51:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42U5pCdM044896 for ; Sat, 30 Mar 2024 05:51:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42U5pC9Q044895 for bugs@FreeBSD.org; Sat, 30 Mar 2024 05:51:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278044] Diskless nfs root BOOTP/DHCP Broken Date: Sat, 30 Mar 2024 05:51:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: richard@annexi-strayline.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 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.=