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)
Thu, Dec 11, 7:34 PM
Unknown Object (File)
Nov 25 2025, 9:44 AM
Unknown Object (File)
Nov 24 2025, 12:38 AM
Unknown Object (File)
Nov 23 2025, 9:17 PM
Unknown Object (File)
Nov 23 2025, 10:04 AM
Unknown Object (File)
Nov 20 2025, 4:13 PM
Unknown Object (File)
Nov 20 2025, 4:51 AM
Unknown Object (File)
Nov 19 2025, 7:19 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