From nobody Fri Aug 14 14:36:00 2026 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 4hM4Xf1GTZz6nwMV for ; Fri, 14 Aug 2026 14:36:02 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hM4Xd2x7fz3hCR for ; Fri, 14 Aug 2026 14:36:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786718161; 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=TVjXxbg7474RGrXA5V3EpUnMpFStq/2v8+5+zdV0Aa8=; b=evH2gFRL64qvZc8OhZmsJATfGIoaaLcvbLnyfxeTia/2aeiwq6NPU4sp8IIbvDxiLPzGCL Nn0x14RxbwcZtbnU2cSWa1Om7nUECJtA1OBlq8310exHQX+PUB01GIirsP7Muimp40l56H G9GpwM0mltW9RAsa2K0LF8/eVUm5JxR2sdHVw6tZVP3fL3temx67lKnS1LPL4q9QyuM7eY H/cAqelv56OCpKaqhWcRn5pJfPz0fe/l6P1DF9cTPUG6IF7DUCQ3UyzCXC/Qht9TEDm0RS WZuvmetlvulI0btHFQV0H7lKPwk8tGU9YmyH/i0nMwUhISwm/Fops5O3Mk+v9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786718161; a=rsa-sha256; cv=none; b=PX/tQJqXrdrqza1z+IIzYqfQO91B9jg/S2O7t8NGJAUlUPAynzQnx+39LDqYA99upwjzdL hmHq3a4x+pkVFcFOrCopIYT+4GZnN2cABOVWxHuX8Wec+HDLUilOA0G26EsCAgEdVLoKd4 zbj6IjAZ5cSLx4OTnzreePG/WwHgEi6Z4lv6zs8ONEOOT8u3+KYej6KybzjDzBZ5Fu+tn9 wp/xfGA23D50/8VCtFlzKAF4hzQBHUEyPbVdmEDARFWc7K4tCoFfwbXOxQpGlkZKJyhLJL BA6Rr+fix+CsCCSxRj1ueqZztQHzIm0D0Xx1xrbOggucUByHRvCHRLO/SBOF3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786718161; 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=TVjXxbg7474RGrXA5V3EpUnMpFStq/2v8+5+zdV0Aa8=; b=osrE8GtIKOlCQ0whAqOg+vh7pTFPVjZ5YGkJgq5u9qliQ50IRjtxHq7j0ffrJG75xWv72Z EnYV3RftgF08YwVzhv30jBYVxRPSiTrp5EdpMFoUfVwcVVSA3SHTvHr/Ll8gnVG0wyazpV UG6+4cj4NFIp/m/APbbEp1O3kWPdds+G1YlnmiraUot8S0WXOlUHWPlCKAcavT7T0xC7XT IgNpJxnO4cvDTk7vXrLHhFdRILbkd8AK9kEkXMErhnJj/oUaybgbEMw9/Y/xqzU7IzVUMu xoqRI/lDlocEKqc7N0HJbrI9orxwotubqbE1BmyqaUi8fPMrSlvRzG7k0kQzvg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hM4Xc5SWTz128B for ; Fri, 14 Aug 2026 14:36:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3dc98 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 14 Aug 2026 14:36:00 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 01d4e3c1d3ff - main - netipsec/xform_ipcomp.c: fix sockaddr type set in ipcomp6_nonexp_encapcheck() 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 01d4e3c1d3ffa14041d8faa3a7a6e6509e73af84 Auto-Submitted: auto-generated Date: Fri, 14 Aug 2026 14:36:00 +0000 Message-Id: <6a7f27d0.3dc98.4d274ca1@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=01d4e3c1d3ffa14041d8faa3a7a6e6509e73af84 commit 01d4e3c1d3ffa14041d8faa3a7a6e6509e73af84 Author: Konstantin Belousov AuthorDate: 2026-08-13 23:18:18 +0000 Commit: Konstantin Belousov CommitDate: 2026-08-14 14:35:38 +0000 netipsec/xform_ipcomp.c: fix sockaddr type set in ipcomp6_nonexp_encapcheck() Noted and reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D58646 --- sys/netipsec/xform_ipcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c index 61fb9413a01a..4787f9b09bb4 100644 --- a/sys/netipsec/xform_ipcomp.c +++ b/sys/netipsec/xform_ipcomp.c @@ -722,7 +722,7 @@ ipcomp6_nonexp_encapcheck(const struct mbuf *m, int off, int proto, return (0); bzero(&src, sizeof(src)); bzero(&dst, sizeof(dst)); - src.sa.sa_family = dst.sa.sa_family = AF_INET; + src.sa.sa_family = dst.sa.sa_family = AF_INET6; src.sin6.sin6_len = dst.sin6.sin6_len = sizeof(struct sockaddr_in6); ip6 = mtod(m, const struct ip6_hdr *); src.sin6.sin6_addr = ip6->ip6_src;