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, Sep 25, 1:52 AM
Unknown Object (File)
Tue, Sep 23, 5:41 PM
Unknown Object (File)
Thu, Sep 18, 1:10 AM
Unknown Object (File)
Thu, Sep 11, 2:04 PM
Unknown Object (File)
Sep 5 2025, 4:58 PM
Unknown Object (File)
Aug 25 2025, 4:34 PM
Unknown Object (File)
Aug 14 2025, 6:23 PM
Unknown Object (File)
Aug 7 2025, 12:06 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