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, Jun 12, 7:52 PM
Unknown Object (File)
Fri, Jun 12, 1:22 PM
Unknown Object (File)
Thu, Jun 11, 6:17 PM
Unknown Object (File)
May 7 2026, 1:48 PM
Unknown Object (File)
May 7 2026, 5:52 AM
Unknown Object (File)
May 2 2026, 8:59 PM
Unknown Object (File)
Apr 28 2026, 2:46 PM
Unknown Object (File)
Apr 28 2026, 11:43 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