HomeFreeBSD

tcp: pass maxseg around instead of calculating locally

Description

tcp: pass maxseg around instead of calculating locally

Improve slowpath processing (reordering, retransmissions)
slightly by calculating maxseg only once. This typically
saves one of two calls to tcp_maxseg().

Reviewed By: glebius, tuexen, cc, transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D43536

Details

Provenance
rscheffAuthored on Jan 24 2024, 3:42 PM
Reviewer
transport
Differential Revision
D43536: tcp: pass maxseg around instead of locally calculating anew
Parents
rGaf0d437dd31f: kcmp: Add a manual page
Branches
Unknown
Tags
Unknown