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)
Sun, Mar 16, 3:19 PM
Unknown Object (File)
Fri, Mar 14, 7:30 PM
Unknown Object (File)
Mar 2 2025, 3:30 PM
Unknown Object (File)
Mar 1 2025, 10:57 PM
Unknown Object (File)
Mar 1 2025, 10:13 PM
Unknown Object (File)
Feb 28 2025, 1:25 PM
Unknown Object (File)
Feb 27 2025, 10:34 PM
Unknown Object (File)
Feb 27 2025, 7:48 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