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)
Tue, Nov 25, 9:44 AM
Unknown Object (File)
Mon, Nov 24, 12:38 AM
Unknown Object (File)
Sun, Nov 23, 9:17 PM
Unknown Object (File)
Sun, Nov 23, 10:04 AM
Unknown Object (File)
Thu, Nov 20, 4:13 PM
Unknown Object (File)
Thu, Nov 20, 4:51 AM
Unknown Object (File)
Wed, Nov 19, 7:19 PM
Unknown Object (File)
Wed, Nov 19, 3:02 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