From nobody Wed Feb 01 22:34:28 2023 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 4P6cD508pNz3cCjh; Wed, 1 Feb 2023 22:34:29 +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 4P6cD46n0vz4K6Z; Wed, 1 Feb 2023 22:34:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675290869; 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=UhvzvVpkFpFTne2G3Ig10wBX4FDlPZc3BDmD8q3xCqE=; b=R/uCZ6iwyelvsXh/ot+hewMWmEBElr9tXwbew/zinRDGLqgyGQOqL0qqHNYGVAQagH/F04 epG8O5IR6hrcGVN8ZJM1mxmxrXHDEWdEfdwDlotDJ6xGXbEzJhQIyqVdUQ1zKTK0APPYtl 9KPfvCIf3HLnbHs53eUnOZtEy3QoywmRtKbJavbXnfiuRC1lptgwVnX/jY3XZKv7Em2PJF V65KE8FCCLnUD88rOyJ+QS4QP44ohJpwmxVzSOwfulxayx5A1onvO/8G7lyryXAMtQUtfc ffRmlefkkrrQhrHRtlINlgKEvypRl3krFl9I4gs05Za6Li++yclo0V3YnEe7xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675290868; 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=UhvzvVpkFpFTne2G3Ig10wBX4FDlPZc3BDmD8q3xCqE=; b=gh4e6pIfHsg4xMaUeqS+OcNOiKOcrdV8p46Y1itUPZIV14OCRUUO+3D9oZd734Jy9knQFi wazFJBexLtjyMUu3HzNQ30XJHAjn+gFC19NJligUfgZFcf6oU5QCdb+0gjCHMZsuHmF9IM 9DuqZIey8vQ4EUWtySCE4g9frXfzulQdqCRruoLmoPsck9wset2xq0pCIb/XYMevHWSUL1 1pygETHm+ARxlmI4h8yvtOOh4z0X31ua28o2uAkCJxCVjdqDyI4QQB+T4fKulvFN5hesgi 5lsJ4oQajGEtGFnyZ/YRdmVdRzCSeitjE+htCIzGYWWnAanNamCoUJmZYbeRaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675290868; a=rsa-sha256; cv=none; b=Q+fGcZjVXBb2FUFAsHy5GJDmSHk8NFFmtcOa6P2qvESdaMzxyShT/T5AMcsEtWYMTbkVvK j83tSTWyjq5+A994HYECrvdBYzvszSMd0RTfdP/SwVhqkAT7s1rIOGZhw8UdzOA9e1yX8K +/tnm9MZBRWQCxbLVab++Ff4UDvDl40lyaQreEIIwUEaR18i199pQg7Bk+wpXg894ukBTV +lqz6qfQlvlQP7MW54lxuboKSZv69ggq4s+jNOQnGZtC0RQpP1BCnCqTLEQhTRAztF4OMO ailZ+fuUhjGsxMjxK/Ep9jipNcpMQMDs6PiDud+cLiXA/ACAVOQDvDvgqAturg== 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 4P6cD45qWGzWSb; Wed, 1 Feb 2023 22:34:28 +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 311MYSJF087256; Wed, 1 Feb 2023 22:34:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311MYS7q087255; Wed, 1 Feb 2023 22:34:28 GMT (envelope-from git) Date: Wed, 1 Feb 2023 22:34:28 GMT Message-Id: <202302012234.311MYS7q087255@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 40a79f26978b - stable/13 - sctp: fix parameter type in NAT status message 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 40a79f26978b54f48955c7f208c5c34ab28969d7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=40a79f26978b54f48955c7f208c5c34ab28969d7 commit 40a79f26978b54f48955c7f208c5c34ab28969d7 Author: Michael Tuexen AuthorDate: 2022-04-13 17:46:28 +0000 Commit: Michael Tuexen CommitDate: 2023-02-01 22:34:05 +0000 sctp: fix parameter type in NAT status message Thanks to Sriram Yagnaraman for providing the patch for the userland stack. (cherry picked from commit 595ac4a11893971ba17a51e0477d580e29e1ef7a) --- sys/netinet/sctp_asconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/sctp_asconf.c b/sys/netinet/sctp_asconf.c index a4457471410e..675530c65fb6 100644 --- a/sys/netinet/sctp_asconf.c +++ b/sys/netinet/sctp_asconf.c @@ -3336,7 +3336,7 @@ out: aa_add->ap.addrp.ph.param_type = SCTP_IPV4_ADDRESS; aa_add->ap.addrp.ph.param_length = sizeof(struct sctp_ipv4addr_param); /* No need to fill the address, we are using 0.0.0.0 */ - aa_del->ap.aph.ph.param_type = SCTP_ADD_IP_ADDRESS; + aa_del->ap.aph.ph.param_type = SCTP_DEL_IP_ADDRESS; aa_del->ap.aph.ph.param_length = sizeof(struct sctp_asconf_addrv4_param); aa_del->ap.addrp.ph.param_type = SCTP_IPV4_ADDRESS; aa_del->ap.addrp.ph.param_length = sizeof(struct sctp_ipv4addr_param);