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)
Dec 20 2023, 1:20 AM
Unknown Object (File)
Sep 11 2023, 3:48 PM
Unknown Object (File)
Aug 22 2023, 2:38 PM
Unknown Object (File)
Jun 21 2023, 7:10 PM
Unknown Object (File)
May 4 2023, 12:05 PM
Unknown Object (File)
May 3 2023, 7:54 AM
Unknown Object (File)
Apr 9 2023, 5:11 PM
Unknown Object (File)
Apr 9 2023, 5:11 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