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, Dec 4, 10:41 PM
Unknown Object (File)
Tue, Nov 25, 11:07 PM
Unknown Object (File)
Fri, Nov 21, 12:55 PM
Unknown Object (File)
Fri, Nov 21, 3:22 AM
Unknown Object (File)
Fri, Nov 21, 3:21 AM
Unknown Object (File)
Fri, Nov 21, 3:20 AM
Unknown Object (File)
Fri, Nov 21, 3:18 AM
Unknown Object (File)
Thu, Nov 20, 1:24 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