From nobody Tue Aug 30 02:40:10 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MGs3Z2jC4z4bKSn; Tue, 30 Aug 2022 02:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MGs3Z289nz459Z; Tue, 30 Aug 2022 02:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661827210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Aopt7ecr2jvZUYWeRMMAfhkRx/7KyTfbqvgj1m3L2hs=; b=csP22fDBMcgg0i4Aa9U1V9XjYfZfvElGJRIA8L/LY0LDy5D7TtWysDglhbMohG813ZJ9gc LVg96XBxSMdGGvM+mhCkvadDVjXKSuTiapv67ros64pWyqHO7V5238BdY9QypP8MmiqUmo TgMBWFvZMnhQiai7YYplh+fPGzfbgC0qH5iRsB79IaLya1L9FiuyHOw041uXfZwAmpvnqS HmgkUXex0ltZougL/FQAV7FZ9Sxv7Ku/BvaV2ZsWLHOOtHTVT2u+H3yhncbRyXFMKkD/8Q Fa1uttQHI9cQ96rdMRc9GQiqI6eHlTgJARyaLsFoDvyK32e0fRd33JgbjP21KA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MGs3Z1CsTzdhs; Tue, 30 Aug 2022 02:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27U2eAFC023867; Tue, 30 Aug 2022 02:40:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27U2eAme023864; Tue, 30 Aug 2022 02:40:10 GMT (envelope-from git) Date: Tue, 30 Aug 2022 02:40:10 GMT Message-Id: <202208300240.27U2eAme023864@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: c00605751e40 - main - tcp: remove a dead code leftover from T/TCP, List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c00605751e40797de795944cb3c6dcc405136d8b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661827210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Aopt7ecr2jvZUYWeRMMAfhkRx/7KyTfbqvgj1m3L2hs=; b=T17rPu01jyDl3joOz2oX8cocupZlz704RS0FCm1mew+d0fSpp+0/5pqHy1XY7Hg1TV8Ua2 7E0+MvJMA2Chxi4ODfcure8GLnyWmVFQIps1AWK3mNBNdpDbzn5qsb2XHmYiZgJY1AwNU3 GTbrO/1CoMUKumNmWe/jLBwPXE9uyFjHxgTGIj7p/lyM5mZ7SR3Mtj3dkEl5k/gPRC1UDn VKa5LM3gct6tvViLR7MmfK/4K4i6Sw5jDUbhaYq48TMit8qQBxgYY22YmzhI+Rf7WVW3hF bfnudMQ5OpxEogd4kn5wgEiYJ5smPOyNFGTMfzH4tOQQ8o81tAIDTWtEnWH2YA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661827210; a=rsa-sha256; cv=none; b=REzgi9iLcHBfL3xSKSX1azhs8xUG/wNduzlyQXHKcMl76TRqrVPn9+dq0V0e+qQ1nclBrp BrYg0GmSR2ibAVvlWICWoDTqTzngZLYdWyyjTNg0Iqtc4Q8xNmqVKs5kgec8CM3Sgml+ms 1l5n7jIxFevlsE9098GTzv7ulLKJ7VIC+Faci1QOfG29FY1SIlPJv5QSlA6hebmIe/YfHQ CFupDtY2RJ83N1eX84JTnHXuaXoZ7x4aW1hBmKTTJimOhv0XQUcTPcyz6q2HyRr7ZIX++O gYyCfTtmyuGMB6diwqTX+Usqv1qaMYD5dxdwzObtRgB2fQ6JZdA45nKjGcEnSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=c00605751e40797de795944cb3c6dcc405136d8b commit c00605751e40797de795944cb3c6dcc405136d8b Author: Gleb Smirnoff AuthorDate: 2022-08-30 02:30:12 +0000 Commit: Gleb Smirnoff CommitDate: 2022-08-30 02:30:12 +0000 tcp: remove a dead code leftover from T/TCP, that doesn't have any value today. --- sys/netinet/tcp_input.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 12f78e9f3248..bf963840cd23 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -2125,16 +2125,6 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so, goto process_ACK; goto step6; - - /* - * If the state is LAST_ACK or CLOSING or TIME_WAIT: - * do normal processing. - * - * NB: Leftover from RFC1644 T/TCP. Cases to be reused later. - */ - case TCPS_LAST_ACK: - case TCPS_CLOSING: - break; /* continue normal processing */ } /*