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)
Mon, Nov 17, 1:43 PM
Unknown Object (File)
Sat, Nov 15, 10:08 AM
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)
Oct 17 2025, 8:59 AM
Unknown Object (File)
Oct 17 2025, 8:27 AM
Unknown Object (File)
Oct 17 2025, 3:27 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