Date: Tue, 15 Jul 2025 18:59:10 +0200 From: Kristof Provost <kp@FreeBSD.org> To: Gleb Smirnoff <glebius@freebsd.org> 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: <E59B157F-4EA6-4A04-8937-681B405E456A@FreeBSD.org> In-Reply-To: <aHaDNmXmdPaxJTEa@cell.glebi.us> References: <202507151007.56FA7ug5027985@gitrepo.freebsd.org> <aHaDNmXmdPaxJTEa@cell.glebi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Jul 2025, at 18:35, Gleb Smirnoff wrote: > On Tue, Jul 15, 2025 at 10:07:56AM +0000, Kristof Provost wrote: > K> commit 7b0b4fca080e818e5cf2559453345b6057d33064 > K> Author: Kristof Provost <kp@FreeBSD.org> > K> AuthorDate: 2025-07-08 09:48:52 +0000 > K> Commit: Kristof Provost <kp@FreeBSD.org> > 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? > Probably not, but I wanted this for diff reduction anyway. — Kristof
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E59B157F-4EA6-4A04-8937-681B405E456A>