[Bug 263604] ifconfig: Low performance with many interface/IP

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 May 2022 20:06:18 UTC

Stefan Eßer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
 Attachment #233531|0                           |1
        is obsolete|                            |

--- Comment #7 from Stefan Eßer <se@FreeBSD.org> ---
Created attachment 233726
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233726&action=edit
ifconfig: limit sort by address to 32 addresses

The attached patch limits the sorting to at most 32 IP addresses.

The limit could be #defined (e.g. ADDR_SORT_LIMIT) to make it configurable -
but I have not included such a symbolic name in the patch to keep it simple ...

You are receiving this mail because:
You are the assignee for the bug.