Page MenuHomeFreeBSD

toe: Read-lock the inp in toe_4tuple_check().
ClosedPublic

Authored by jhb on Jun 16 2021, 12:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 2:37 PM
Unknown Object (File)
Mon, May 18, 3:38 AM
Unknown Object (File)
Apr 20 2026, 10:12 AM
Unknown Object (File)
Apr 20 2026, 6:13 AM
Unknown Object (File)
Apr 14 2026, 1:35 PM
Unknown Object (File)
Apr 14 2026, 6:45 AM
Unknown Object (File)
Apr 7 2026, 11:06 AM
Unknown Object (File)
Apr 5 2026, 3:43 PM
Subscribers

Details

Summary

tcp_twcheck now expects a read lock on the inp for the SYN case
instead of a write lock.

Fixes: 1db08fbe3ffa tcp_input: always request read-locking of PCB for any pure SYN segment.
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable