Page MenuHomeFreeBSD

Use locking around version flag updates when handling IN6P_IPV6_V6ONLY.
ClosedPublic

Authored by markj on Oct 1 2019, 11:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 7:39 AM
Unknown Object (File)
Mon, Jul 20, 2:56 PM
Unknown Object (File)
Mon, Jul 20, 3:06 AM
Unknown Object (File)
Sun, Jul 19, 9:56 PM
Unknown Object (File)
Sat, Jul 18, 8:19 AM
Unknown Object (File)
Sat, Jul 18, 7:20 AM
Unknown Object (File)
Mon, Jul 13, 3:24 AM
Unknown Object (File)
Mon, Jul 13, 3:23 AM
Subscribers

Details

Summary

I am tracking down a race in this area and noticed this bug. There are
places where we do unlocked reads of the flags, but it is certainly
incorrect to update them without a lock on the PCB.

While here, simplify a comment.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26820
Build 25154: arc lint + arc unit