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)
Mon, Mar 23, 5:52 PM
Unknown Object (File)
Mon, Mar 23, 1:21 AM
Unknown Object (File)
Fri, Mar 13, 6:20 PM
Unknown Object (File)
Thu, Mar 12, 10:12 AM
Unknown Object (File)
Wed, Mar 11, 8:49 PM
Unknown Object (File)
Tue, Mar 10, 3:18 PM
Unknown Object (File)
Feb 28 2026, 12:33 PM
Unknown Object (File)
Feb 26 2026, 1:26 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