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, Nov 25, 12:54 PM
Unknown Object (File)
Sep 14 2024, 9:17 PM
Unknown Object (File)
Sep 8 2024, 3:02 AM
Unknown Object (File)
Aug 15 2024, 8:54 AM
Unknown Object (File)
Jul 29 2024, 1:24 AM
Unknown Object (File)
Jul 16 2024, 12:59 PM
Unknown Object (File)
Jul 14 2024, 7:07 AM
Unknown Object (File)
Jul 9 2024, 6:01 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