From nobody Sat Dec 04 15:59:08 2021 X-Original-To: dev-commits-src-all@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 6D35E18B6D72; Sat, 4 Dec 2021 15:59:09 +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 4J5vWd1H75z3v9T; Sat, 4 Dec 2021 15:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0C45327116; Sat, 4 Dec 2021 15:59:09 +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 1B4Fx8ZO084664; Sat, 4 Dec 2021 15:59:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B4Fx8x7084663; Sat, 4 Dec 2021 15:59:08 GMT (envelope-from git) Date: Sat, 4 Dec 2021 15:59:08 GMT Message-Id: <202112041559.1B4Fx8x7084663@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: c2b53b107e0e - main - tcpdrop: tweak comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2b53b107e0ee1da69921df106a37fffa44bebc5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638633549; 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=gQJheN/7SrgWXtLltNtq1m1mtPpSrMJ5v15J1YqVVQc=; b=W2vBC/MAc4+C/5D948slM2nZvxsBa50t3czAVBPOhZyioDRpmsFdINfiwtOeqbpa14hKhm 9XLaNmTiBxVd+5nlEGi2Fxuf4kG8JDoKbvWoJJ1BizsyJkYV/fgPpo0LWJ6RaJfumN/X4o qHlFOsWOt3Lydv8z72gIc7oOBG4HWGImbFtzHZNoDAzFKErCdQTe/q39cxaQWj8jwcyemB S5cxnYVqNi7qhCV5Omv+wFPSqEKvxBslaKXiRrLPsSxlFW35PiOkElqQvqZN9h1YnugHYm ipVx484V0q3wnp23Cq/E9pQSA64+h4FswWgyqjkTjzupJ+RC9DuxaZqRwOphBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638633549; a=rsa-sha256; cv=none; b=vQJqXGggPwfSJYCra6p6YmdrdmGJfp4f1e9uoy9JCzrEM9PgSZ70c+nVaNtyB7U4AiepB7 Q1SdOC9+VWefvYF0GqcJgOHVdU6e+mbyNuCpAn0bfKcp5RPQp9q12FYhJkdevcaUL7HMzV ma5WEsNqUbOKRVziUwLL3VNhmVzRYzAzV+Ru0nfm/cmTIQU4x2V6rX09N8s0WTbViv4fB4 uG6oWTiEnoBWgKi+ft2PEQhPAT6Je3uCkT6ubaJ3O997ai3TYZgtlIUdV066qQLLfL84zr SJ1XJp46My3bKCMCdmA38F1zJdL5uxbAYm+A12WD7y5sok0QuH7RIuoCLYjmjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=c2b53b107e0ee1da69921df106a37fffa44bebc5 commit c2b53b107e0ee1da69921df106a37fffa44bebc5 Author: Michael Tuexen AuthorDate: 2021-12-04 14:08:01 +0000 Commit: Michael Tuexen CommitDate: 2021-12-04 14:08:01 +0000 tcpdrop: tweak comments MFC after: 1 week Sponsored by: Netflix, Inc. --- usr.sbin/tcpdrop/tcpdrop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/tcpdrop/tcpdrop.c b/usr.sbin/tcpdrop/tcpdrop.c index 89056f30672c..135f1b52c403 100644 --- a/usr.sbin/tcpdrop/tcpdrop.c +++ b/usr.sbin/tcpdrop/tcpdrop.c @@ -253,7 +253,7 @@ tcpdropall(const char *ca_name, const char *stack, int state) * Check protocol, support just v4 or v6, etc. */ - /* Ignore PCBs which were freed during copyout. */ + /* Ignore PCBs which were freed during copyout. */ if (xip->inp_gencnt > head->xig_gen) continue; @@ -292,7 +292,7 @@ tcpdropbyname(const char *lhost, const char *lport, const char *fhost, { static const struct addrinfo hints = { /* - * Look for streams in all domains. + * Look for TCP streams in all domains. */ .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM,