HomeFreeBSD

MFC 2290dfb40fce:

Description

MFC 2290dfb40fce:

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

(cherry picked from commit 2290dfb40fce0ab46d91244282014173c7316e42)

Details

Provenance
rstoneAuthored on May 19 2021, 7:10 PM
Reviewer
donner
Differential Revision
D30630: Enter the net epoch before calling ip6_setpktopts
Parents
rGe88dbe4f4672: MFC 315bca194a14:
Branches
Unknown
Tags
Unknown