HomeFreeBSD

Enforce net epoch in in6_selectsrc().

Description

Enforce net epoch in in6_selectsrc().

in6_selectsrc() may call fib6_lookup() in some cases, which requires
epoch. Wrap in6_selectsrc* calls into epoch inside its users.
Mark it as requiring epoch by adding NET_EPOCH_ASSERT().

MFC after: 1 weeek
Differential Revision: https://reviews.freebsd.org/D28647

Details

Provenance
melifaroAuthored on Feb 13 2021, 2:32 PM
Differential Revision
D28647: Enforce net epoch in in6_selectsrc().
Parents
rGc90fb7acf099: pxeboot(8): remove antiquated information
Branches
Unknown
Tags
Unknown