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)
Fri, Oct 2, 4:54 PM
Unknown Object (File)
Fri, Sep 25, 3:43 PM
Unknown Object (File)
Fri, Sep 25, 3:40 PM
Unknown Object (File)
Fri, Sep 25, 3:38 PM
Unknown Object (File)
Sun, Sep 20, 12:02 PM
Unknown Object (File)
Tue, Sep 8, 9:39 PM
Unknown Object (File)
Tue, Sep 8, 4:20 AM
Unknown Object (File)
Mon, Sep 7, 9:50 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39685
Build 36574: arc lint + arc unit