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)
Fri, Apr 18, 10:13 PM
Unknown Object (File)
Mon, Apr 14, 8:15 AM
Unknown Object (File)
Mon, Apr 14, 3:46 AM
Unknown Object (File)
Mon, Apr 14, 1:11 AM
Unknown Object (File)
Sun, Apr 13, 8:35 PM
Unknown Object (File)
Tue, Apr 1, 10:34 AM
Unknown Object (File)
Tue, Apr 1, 10:15 AM
Unknown Object (File)
Tue, Apr 1, 9:17 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable