diff options
author | Nils Nieuwejaar <nils@oxidecomputer.com> | 2021-08-15 11:30:44 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2022-01-10 10:24:25 -0500 |
commit | 861fa1490335b8e3cc91a1efafd8b9e481813931 (patch) | |
tree | 8a15d2f665e428215b771d43fca4de9925ab44f0 /usr/src/uts/common/inet/tcp/tcp_input.c | |
parent | 5608cf052f6eabe370f15f49b6fa5d0d8be732af (diff) | |
download | illumos-gate-861fa1490335b8e3cc91a1efafd8b9e481813931.tar.gz |
14017 Add support for TCP_QUICKACK
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Andy Fiddaman <andy@omnios.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp_input.c')
-rw-r--r-- | usr/src/uts/common/inet/tcp/tcp_input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp_input.c b/usr/src/uts/common/inet/tcp/tcp_input.c index b3e4a07303..dd264528fc 100644 --- a/usr/src/uts/common/inet/tcp/tcp_input.c +++ b/usr/src/uts/common/inet/tcp/tcp_input.c @@ -25,6 +25,7 @@ * Copyright 2019 Joyent, Inc. * Copyright (c) 2014, 2016 by Delphix. All rights reserved. * Copyright 2020 OmniOS Community Edition (OmniOSce) Association. + * Copyright 2022 Oxide Computer Company */ /* This file contains all TCP input processing functions. */ @@ -4754,6 +4755,9 @@ update_ack: tcp->tcp_rack_cur_max = tcp->tcp_rack_abs_max; else tcp->tcp_rack_cur_max = cur_max; + } else if (tcp->tcp_quickack) { + /* The executable asked that we ack each packet */ + flags |= TH_ACK_NEEDED; } else if (TCP_IS_DETACHED(tcp)) { /* We don't have an ACK timer for detached TCP. */ flags |= TH_ACK_NEEDED; |