HomeFreeBSD

Enter the net epoch before calling ip6_setpktopts

Description

Enter the net epoch before calling ip6_setpktopts

ip6_setpktopts() can look up ifnets via ifnet_by_index(), which
is only safe in the net epoch. Ensure that callers are in the net
epoch before calling this function.

Sponsored by: Dell EMC Isilon
MFC after: 4 weeks
Reviewed by: donner, kp
Differential Revision: https://reviews.freebsd.org/D30630

Details

Provenance
rstoneAuthored on May 19 2021, 7:10 PM
Reviewer
donner
Differential Revision
D30630: Enter the net epoch before calling ip6_setpktopts
Parents
rGdab84426a68d: Narrow down the probe range for if_ure(4) compatible devices
Branches
Unknown
Tags
Unknown