Page MenuHomeFreeBSD

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

Authored by jhb on Jun 16 2021, 12:27 AM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.