Page MenuHomeFreeBSD

Enter the net epoch before calling ip6_setpktopts
ClosedPublic

Authored by rstone on Jun 3 2021, 7:15 PM.
Tags
None
Referenced Files
F132462086: D30630.id.diff
Fri, Oct 17, 3:27 AM
F132461955: D30630.id.diff
Fri, Oct 17, 3:26 AM
Unknown Object (File)
Fri, Oct 10, 1:23 AM
Unknown Object (File)
Thu, Sep 25, 8:10 PM
Unknown Object (File)
Sep 13 2025, 9:21 PM
Unknown Object (File)
Sep 13 2025, 12:27 PM
Unknown Object (File)
Sep 12 2025, 7:12 AM
Unknown Object (File)
Sep 6 2025, 10:46 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable