HomeFreeBSD

ifnet: initial if_grow() shall always succeed

Description

ifnet: initial if_grow() shall always succeed

So let's just call malloc() directly. This also avoids hidden
doubling of default V_if_indexlim.

Reviewed by: melifaro, bz, kp
Differential revision: https://reviews.freebsd.org/D33261

Details

Provenance
glebiusAuthored on Dec 4 2021, 5:49 PM
Reviewer
melifaro
Differential Revision
D33261: ifnet: initial if_grow() shall always succeed
Parents
rG450394af27bc: ifnet: use ck_pr(3) store & load setting ifnet pointer in ifindex
Branches
Unknown
Tags
Unknown