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, Mar 24, 7:44 AM
Unknown Object (File)
Feb 24 2025, 11:20 PM
Unknown Object (File)
Feb 21 2025, 6:02 PM
Unknown Object (File)
Feb 20 2025, 10:37 AM
Unknown Object (File)
Feb 1 2025, 8:38 PM
Unknown Object (File)
Jan 21 2025, 9:39 PM
Unknown Object (File)
Jan 16 2025, 3:23 PM
Unknown Object (File)
Jan 11 2025, 3:11 AM
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