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)
Sat, May 24, 1:09 PM
Unknown Object (File)
Sat, May 24, 9:27 AM
Unknown Object (File)
Sat, May 24, 6:41 AM
Unknown Object (File)
Apr 30 2025, 9:50 AM
Unknown Object (File)
Apr 30 2025, 8:06 AM
Unknown Object (File)
Apr 30 2025, 5:19 AM
Unknown Object (File)
Apr 16 2025, 7:56 PM
Unknown Object (File)
Mar 16 2025, 3:19 PM

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