(4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bhPtJ473YzHlB; Tue, 15 Jul 2025 16:35:04 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Tue, 15 Jul 2025 09:35:02 -0700 From: Gleb Smirnoff To: Kristof Provost Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 7b0b4fca080e - main - pfctl: getifaddrs() can return entries where ifa_addr is NULL Message-ID: References: <202507151007.56FA7ug5027985@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202507151007.56FA7ug5027985@gitrepo.freebsd.org> On Tue, Jul 15, 2025 at 10:07:56AM +0000, Kristof Provost wrote: K> commit 7b0b4fca080e818e5cf2559453345b6057d33064 K> Author: Kristof Provost K> AuthorDate: 2025-07-08 09:48:52 +0000 K> Commit: Kristof Provost K> CommitDate: 2025-07-15 07:55:30 +0000 K> K> pfctl: getifaddrs() can return entries where ifa_addr is NULL Is this true on FreeBSD? The libc code sets what the route socket returns and the latter always copies out kernel's ifa->ifa_addr into info.rti_info[RTAX_IFA]. Can we have a in kernel a struct ifaddr with NULL ifa_addr? -- Gleb Smirnoff