From nobody Tue Jun 10 03:19:18 2025 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 4bGYtG4gYtz5yy9Z; Tue, 10 Jun 2025 03:19:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bGYtG41Msz4Hrk; Tue, 10 Jun 2025 03:19:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749525558; 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=1ir4ROhUmlaLW59d1YkJ/I1+8lEEXGADv2h11DbRsuU=; b=NWG3eHay//YzqQnuQHTaaAMsXyCIK1AiWpjqgxSaGfizoSqGgMu2OwmrykaYkJEqHykt5/ 2nL/ZE0GBRk1IfD62gJwaxgxGTahdufvuS/uxfNpxnMLdpTdIAKkBLnteH8zi2dwNhx2SV GEnoRgR98lyqER32JU607GFhVWP6i6NF7utQD9sCuFL++lCwKgpAfv1gVbKnTk4zbBwD7F AZ/ZBGxoJflatcaq1BlW3TcFFfKDimm3CRqTZVvoQblRWp5zH+JVVawtnTA5AtnYp6PeFp O84mZHLZzDc7sNTMBJ/SfpBghfmuvNqVCgpZhJRd6sg6crgOEHXGbFuXzp8CPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749525558; 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=1ir4ROhUmlaLW59d1YkJ/I1+8lEEXGADv2h11DbRsuU=; b=dbHGmAZ0fV2qoBW/lW1POEHp5w8bnTRKI0LcjvYQp2AhYA3wiiUvvKiohv4+zsfKLmqgzX P6qc6gUUCWomdTsL/aqZOcYt7Clkz0MLPdmkVtMfAocMzI7VlaFRRhDeaN09ZxnB8jLqz0 Fxlp9XompdMlQ26VWi2pXhCdMfXSO0cRT1/+YTDijXLfr9/Q0Zst5qyv/InjjSFY8FwqFd jlfLjJw+Lwoz+V4giZf5MxclULOjdGV/ZQgijVwQGbUcvuIrtPM4guoxmIjHWf3t6OGsEY Ivc0yxcP5nrSOT94nAGSa5WgKHF3oWgcQQ0CHPz3YXGJEeFmwGMA2ffPew7rqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749525558; a=rsa-sha256; cv=none; b=MxucnnxKyzzAv68CUcQOAh1fKLvuRbjzUDpiKqGB0/VJY8s/oW+zXLKD9aZgJ55mxhw9T9 vzUE1+ivX1GD+2+PxrLVAhEwU6HYvC5oW13x/UGYA6gUnFRQ2BJUpo32TSTh18CBYfGbHQ BnERHemxXvLmQX0eWsyfoV9UTX2e5PoVxNe0FC/TIKhY4wfSHiuyKXMo9lOpamgbnOKf9R PHoYmFXs4NRKLRJYlgv5qMv62cQa/AjS3Us0A8jTtfy27M8r+JWaxnutEu1lthBhRr8FfU c9+3eo3NWoVUdIYYvxOZ2tJnRNw4CK1J9f1fq/QZ+L7SaDDwEIRnrb1/5hArJA== 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 4bGYtG3cVbz7ZN; Tue, 10 Jun 2025 03:19:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55A3JItt085986; Tue, 10 Jun 2025 03:19:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55A3JIoH085983; Tue, 10 Jun 2025 03:19:18 GMT (envelope-from git) Date: Tue, 10 Jun 2025 03:19:18 GMT Message-Id: <202506100319.55A3JIoH085983@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: 6e60aff53dd8 - main - pf: fix NOINET6 build 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-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: 6e60aff53dd8cc631b61ca94b87246f78756ce6d Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=6e60aff53dd8cc631b61ca94b87246f78756ce6d commit 6e60aff53dd8cc631b61ca94b87246f78756ce6d Author: Gleb Smirnoff AuthorDate: 2025-06-10 03:18:50 +0000 Commit: Gleb Smirnoff CommitDate: 2025-06-10 03:18:50 +0000 pf: fix NOINET6 build --- sys/netpfil/pf/pf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index fa4c4b73809c..03179541b890 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -377,10 +377,12 @@ static u_int16_t pf_calc_mss(struct pf_addr *, sa_family_t, static int pf_check_proto_cksum(struct mbuf *, int, int, u_int8_t, sa_family_t); static int pf_walk_header(struct pf_pdesc *, struct ip *, u_short *); +#ifdef INET6 static int pf_walk_option6(struct pf_pdesc *, struct ip6_hdr *, int, int, u_short *); static int pf_walk_header6(struct pf_pdesc *, struct ip6_hdr *, u_short *); +#endif static void pf_print_state_parts(struct pf_kstate *, struct pf_state_key *, struct pf_state_key *); static int pf_patch_8(struct pf_pdesc *, u_int8_t *, u_int8_t,