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 <k...@freebsd.org> > K> AuthorDate: 2025-07-08 09:48:52 +0000 > K> Commit: Kristof Provost <k...@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