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
F139389072: D21867.id62813.diff
Thu, Dec 11, 2:30 PM
Unknown Object (File)
Wed, Dec 3, 9:00 PM
Unknown Object (File)
Wed, Nov 19, 1:30 PM
Unknown Object (File)
Sun, Nov 16, 7:31 AM
Unknown Object (File)
Nov 4 2025, 3:58 AM
Unknown Object (File)
Nov 3 2025, 12:45 PM
Unknown Object (File)
Nov 3 2025, 12:43 PM
Unknown Object (File)
Nov 3 2025, 12:43 PM
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