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)
Thu, May 2, 7:36 PM
Unknown Object (File)
Fri, Apr 19, 11:38 AM
Unknown Object (File)
Mar 19 2024, 3:30 PM
Unknown Object (File)
Mar 19 2024, 3:21 PM
Unknown Object (File)
Feb 10 2024, 5:25 PM
Unknown Object (File)
Dec 20 2023, 8:33 AM
Unknown Object (File)
Oct 1 2023, 10:20 AM
Unknown Object (File)
Aug 5 2023, 2:27 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39685
Build 36574: arc lint + arc unit