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, Apr 9, 9:51 PM
Unknown Object (File)
Thu, Apr 9, 9:13 PM
Unknown Object (File)
Mon, Apr 6, 11:27 PM
Unknown Object (File)
Sun, Apr 5, 3:53 PM
Unknown Object (File)
Sat, Apr 4, 3:31 PM
Unknown Object (File)
Sat, Apr 4, 5:58 AM
Unknown Object (File)
Fri, Apr 3, 1:10 AM
Unknown Object (File)
Mon, Mar 30, 1:03 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