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
F164596028: D30630.id90424.diff
Sun, Aug 2, 6:29 AM
F164578129: D30630.id90374.diff
Sun, Aug 2, 4:37 AM
Unknown Object (File)
Fri, Jul 31, 5:26 PM
Unknown Object (File)
Tue, Jul 7, 10:30 PM
Unknown Object (File)
May 23 2026, 6:47 AM
Unknown Object (File)
May 21 2026, 8:17 PM
Unknown Object (File)
May 21 2026, 7:12 AM
Unknown Object (File)
May 20 2026, 11:12 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39685
Build 36574: arc lint + arc unit