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
F171009949: D30630.id90424.diff
Tue, Sep 8, 4:20 AM
F170964679: D30630.id90374.diff
Mon, Sep 7, 9:50 PM
F170908150: D30630.diff
Mon, Sep 7, 12:14 PM
Unknown Object (File)
Sat, Sep 5, 1:26 PM
Unknown Object (File)
Sat, Sep 5, 10:18 AM
Unknown Object (File)
Sat, Sep 5, 2:21 AM
Unknown Object (File)
Sat, Sep 5, 12:20 AM
Unknown Object (File)
Fri, Sep 4, 5:16 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