HomeFreeBSD

ifconfig_netlink.c: optimise non-listing case

Description

ifconfig_netlink.c: optimise non-listing case

This change produced by melifaro and the commit is concerted with him
as he is pretty busy IRL these days.

The change restores performance of /sbin/ifconfig utility
for non-listing case after it switched from rtsock to netlink(4) API
in FreeBSD 14+.

PR: 287872
MFC-after: 2 weeks

Details

Provenance
melifaroAuthored on Jul 1 2025, 1:16 PM
eugen_grosbein.netCommitted on Jul 1 2025, 1:16 PM
Parents
rG5d0cf80f4501: Makefile.inc1: Always have which succeed
Branches
Unknown
Tags
Unknown