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
F157244857: D30630.id90374.diff
Tue, May 19, 4:04 PM
Unknown Object (File)
Sun, May 17, 10:35 AM
Unknown Object (File)
Sun, May 17, 2:00 AM
Unknown Object (File)
Sat, May 16, 6:31 PM
Unknown Object (File)
Thu, May 14, 12:28 AM
Unknown Object (File)
Mon, May 11, 9:37 AM
Unknown Object (File)
Sun, May 10, 4:23 AM
Unknown Object (File)
Fri, May 8, 7:59 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