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, Aug 10, 6:55 PM
Unknown Object (File)
Sat, Aug 8, 7:39 PM
Unknown Object (File)
Sat, Aug 8, 12:23 PM
Unknown Object (File)
Sat, Aug 8, 8:37 AM
Unknown Object (File)
Fri, Aug 7, 4:24 AM
Unknown Object (File)
Thu, Aug 6, 8:01 AM
Unknown Object (File)
Thu, Jul 30, 4:28 AM
Unknown Object (File)
Tue, Jul 21, 7:39 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