HomeFreeBSD

inet: Simplify if_multiaddrs iteration.

Description

inet: Simplify if_multiaddrs iteration.

Similar to 2cd6ad766eb23 for inet6 drop ifma_restart use, creating more
problems than solving. It is no longer needed after epoch introduction.

While there, add NULL check for ifma_ifp in igmp_change_state(), that
sometimes caused panics on interface destruction.

MFC after: 2 weeks

Details

Provenance
mavAuthored on Oct 8 2022, 5:10 PM
Parents
rG133935d26f20: pf: atomically increment state ids
Branches
Unknown
Tags
Unknown