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
Unknown Object (File)
Wed, Nov 12, 5:14 AM
Unknown Object (File)
Sat, Nov 1, 6:59 AM
Unknown Object (File)
Thu, Oct 30, 7:06 PM
Unknown Object (File)
Fri, Oct 17, 8:59 AM
Unknown Object (File)
Fri, Oct 17, 8:27 AM
Unknown Object (File)
Fri, Oct 17, 3:27 AM
Unknown Object (File)
Fri, Oct 17, 3:26 AM
Unknown Object (File)
Oct 10 2025, 1:23 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