From nobody Mon Apr 10 19:21:49 2023 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 4PwJkQ5R9gz44hT6; Mon, 10 Apr 2023 19:21:50 +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 4PwJkP62w6z4FhC; Mon, 10 Apr 2023 19:21:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681154509; 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=nzW9b8FWmBPOFss+Xi3uYXY66j99aNluAOUcyNVL8BQ=; b=FYYb1S1GFublbc/eRiXzlms0hd8/0CpYMxVW3Dz1zfiHwy/rmydarabBfGahHwE5rUMkDk ARvlxaZQNWF8UKW7ZEQrnpJWH2UPQ9/0dPnwoOQ/ek4TFhx7OXYMTyCChxS5V05TdKfQH1 Ifu0rV2AqtYO3bDILzz6YKeCT7ChRyAX6h2ZObtm/PRRjgx13pmepe4Qf0Xjjp5AGsQBOK aTkv6O3bTdcnDb2eQWSfwfj1OS+mdWF410+29s2HLbDpBJ7taCFkpma5I/yj5K/wucdJaj U5R793iiDKRh/h39ntg1TGoI6vVVCMBCnfXHB9ued3OtoAMESVymjSZYJEQCCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681154509; 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=nzW9b8FWmBPOFss+Xi3uYXY66j99aNluAOUcyNVL8BQ=; b=ZcOnNcvPnakAjTJDgxBez30z8U5jtLyVdxOAELzw/D9lpZs/4YT8xAE+9Wd9U7aSXxs/4P 3ud80vaMtAWsy5GsN5M0cXhWkGEeh7K2wfskRJxnWZLR2MoU6qAW3BIQ5uC/v7x0TcMBJX KHR/kwxSWOlgb6Ar5xwokiwqHUF7yjqOwR+PPBQ1Fz9THkBjRRm4D4HFKliUoisVJkLHwr PRgUAj0Nh8f37yAcJnXDjLfFcC2QkopreiwwJCZWKJJWgIQR8ritcxHrEGuJOKaA3r40Bz mRtcaylP2JWnnKEr7d4f8vGgIcadhlv5f2SuPwQd73feSPR+eiUFLrEQp2ONRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681154509; a=rsa-sha256; cv=none; b=rWnxfxp2KfJCFdNNG778lQapcqPGhn6f+dfbIaSm7xFGgq1SYWs81mE2o4Kf311QtQhV0F apZhaFd9AKiZVwMgZvzpCpcrwglQdAKt6EdzhaVCdiN/zJncNh1aAVIYT9eReSSwi1WQ/m 08NFkx12KzfivIWPUiypCgpkRCn1g4pCIE0nIC73sDm0CIrhS8xzv2TL5QH3O5+1xDbQO9 3Bu13KdU5hWkDut98yfuZZ85CfSAVJAmR0oREEyUQElyrZXUOyAyfuvh+MIIkgM6fjKnky ztcmrxyvNuC2U3V6EbQ0Pv0j+fEeKVimcKI14wsSgQkrzxE+QGKEC6GmGg5T+Q== 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 4PwJkP588dz132G; Mon, 10 Apr 2023 19:21:49 +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 33AJLn1f032066; Mon, 10 Apr 2023 19:21:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33AJLntv032065; Mon, 10 Apr 2023 19:21:49 GMT (envelope-from git) Date: Mon, 10 Apr 2023 19:21:49 GMT Message-Id: <202304101921.33AJLntv032065@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e22246179011 - main - rack: mask and tclass are only used for INET6. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e222461790111ead1413b95810f724deb90b3e4a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e222461790111ead1413b95810f724deb90b3e4a commit e222461790111ead1413b95810f724deb90b3e4a Author: John Baldwin AuthorDate: 2023-04-10 19:21:03 +0000 Commit: John Baldwin CommitDate: 2023-04-10 19:21:03 +0000 rack: mask and tclass are only used for INET6. This fixes the LINT-NOINET6 build. --- sys/netinet/tcp_stacks/rack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c index 4185b50737af..a1dda9889549 100644 --- a/sys/netinet/tcp_stacks/rack.c +++ b/sys/netinet/tcp_stacks/rack.c @@ -23369,6 +23369,7 @@ rack_set_sockopt(struct tcpcb *tp, struct sockopt *sopt) struct inpcb *inp = tptoinpcb(tp); #ifdef INET6 struct ip6_hdr *ip6; + int32_t mask, tclass; #endif #ifdef INET struct ip *ip; @@ -23376,7 +23377,7 @@ rack_set_sockopt(struct tcpcb *tp, struct sockopt *sopt) struct tcp_rack *rack; struct tcp_hybrid_req hybrid; uint64_t loptval; - int32_t error = 0, mask, optval, tclass; + int32_t error = 0, optval; rack = (struct tcp_rack *)tp->t_fb_ptr; if (rack == NULL) {