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
F175027180: D21867.diff
Wed, Oct 7, 5:58 PM
Unknown Object (File)
Sun, Sep 27, 6:56 PM
Unknown Object (File)
Fri, Sep 25, 8:34 AM
Unknown Object (File)
Sun, Sep 20, 10:32 PM
Unknown Object (File)
Sun, Sep 20, 9:54 PM
Unknown Object (File)
Sun, Sep 20, 6:14 PM
Unknown Object (File)
Thu, Sep 10, 10:39 PM
Unknown Object (File)
Sep 6 2026, 2:04 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