HomeFreeBSD

IPv4: correct limit on loopback_prefix

Description

IPv4: correct limit on loopback_prefix

Commit efe58855f3ea allowed the net.inet.ip.loopback_prefix value
to be 32. However, with a 32-bit mask, 127.0.0.1 is not included
in the reserved loopback range, which should not be allowed.
Change the max prefix length to 31.

Details

Provenance
karelsAuthored on Jul 21 2022, 1:10 PM
Parents
rGe89841f89318: Revert "mac_ddb: Make db_show_vnet_valid() handle !VIMAGE"
Branches
Unknown
Tags
Unknown