Skip to content

checklocks: guard socket option state - #14266

Closed
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-socket-options
Closed

checklocks: guard socket option state#14266
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-socket-options

Conversation

@tamird

@tamird tamird commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

SocketOptions documents locking for its error queue and linger option, but checklocks does not enforce those contracts. Add field guards using the mutexes already held by their accessors and replace the redundant locking prose.

Assisted-by: Codex

SocketOptions documents locking for its error queue and linger option,
but checklocks does not enforce those contracts. Add field guards using
the mutexes already held by their accessors and replace the redundant
locking prose.

Assisted-by: Codex
@github-actions
github-actions Bot requested review from nybidari and zkoopmans August 21, 2026 20:29
@tamird

tamird commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

r? @nybidari — could you review the error-queue and linger guards, given your recent SocketOptions work?

tcpip_nogo and tcpip_test_nogo passed for Linux amd64 and arm64. tcpip_test and link_resolution_test passed natively on macOS arm64.

Assisted-by: Codex

@tamird

tamird commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of consolidated #14338. The expanded replacement commits are prepared locally; the replacement branch has not been pushed yet.

Assisted-by: Codex

@tamird tamird closed this Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant