diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-10-02 02:53:31 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-10-02 02:53:31 +0000 |
| commit | e65b7079db12afb1aa61be4f1c666b162984a95e (patch) | |
| tree | 437c3a6f10fa1e1e5abeb23e2acca9404e914675 /pl/math/tools/(developers-only) | |
| parent | f958aa7e754d88f3955f3c30a13f0e492822e3c3 (diff) | |
tcp: use SB_AUTOSIZE flag to tell if socket buffer was set
The check against V_tcp_sendspace is not a correct one, as a buffer may
grow larger than the initial value. The conjunction was always false up
until 587c6c121504, and only after it the bug surfaced.
If we already grow our buffer past the value stored in the hostcache,
prefer our value.
Reviewed by: tuexen
Differential Revision: https://reviews.freebsd.org/D60105
Diffstat (limited to 'pl/math/tools/(developers-only)')
0 files changed, 0 insertions, 0 deletions
