From nobody Wed Apr 13 17:48:33 2022 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 D722F1B39DCE; Wed, 13 Apr 2022 17:48:33 +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 4Kdqns5kfRz55Xh; Wed, 13 Apr 2022 17:48:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649872113; 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=absZAeNN74rOMM4gN/F+F6PXK3DRsk6DYEs8rdXrCBw=; b=Nk8rAGaCL3n6BMxEYJaJNGDY+t0XOrEdpqMaWARFbex4LP+HcAzvC9w7DvUSfMeSeoksOT bQRcby69jENjY2DQY6rl1esA5nfvRk7QJVMiSjMK78SvEI+uogBaBr7YlNf5hcq4vnaZMN Z40RlYQIygt+nupGt4/BC1kxXMC0HPeTR+Z3cAwXohw+FZJ/u6bk1nXvDFXyI/sJgcT4Qj TvVhczmZ0LKq/+iWLFiN4I+o7uec/kEJrX8LFJaW9FHDufwKw3fgiGFmE9BvaHEh8YhIiw a0J/UaklYygu2raA+xj7xh+ZpjzXI638MXBxGNw6YOGsMcczCOnJz0C1BoQ9Sg== 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 A5D2910867; Wed, 13 Apr 2022 17:48:33 +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 23DHmXgN039632; Wed, 13 Apr 2022 17:48:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DHmXtO039631; Wed, 13 Apr 2022 17:48:33 GMT (envelope-from git) Date: Wed, 13 Apr 2022 17:48:33 GMT Message-Id: <202204131748.23DHmXtO039631@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: 595ac4a11893 - main - sctp: fix parameter type in NAT status message 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: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 595ac4a11893971ba17a51e0477d580e29e1ef7a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649872113; 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=absZAeNN74rOMM4gN/F+F6PXK3DRsk6DYEs8rdXrCBw=; b=hmf2JsDSlMy2LMTtRk6DLBz4ZBXGEb/zm2Tx93scfO4wuySICvTWc8K5wsd/iKs2RwPJPY qKUi5cBSqyVVtYqhlWeETVzrMWK6USBu3LHzmm/Xx9oLgo13RIGVGoY0eRz/RasTv7os3Y n5HvNXDwPouNHxbTVqk+Az4p0qESx2xDyeTlWotAAKtE4c3rcL57l7cfSWwNyO+LWnhgz6 Eq1qN6RB8a2hh7QqEFhXqkigEWy0SzR7LzrKsf4/YYH/Z/WByM0R1L4hEYuRCERbuaSpky rO/PXKkwGqofOmWfw3HQSkT6vxO3Z8YCHXzDl41xMgt/rCyUcC2Kl5M/jvSk2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649872113; a=rsa-sha256; cv=none; b=R0USGyYZVXWBaRYgJ9BeqDH5vinDC7co2salKf10FDqE/yKL1qzKEGeW92AFRuZJD4kfsa pAx6CnLnE/2KMg/DditJ6vdRY8LhBy9MG9Kv5jz7lGDDZ//j7mFq+vPsylhr8MwHMkGvsr DqYyzJ3c+lwZO9zgNXYMdBLJDlI78u17ljTS55NoEwRNf+adj9ZiQWQ1iYpOGuPBFg7YOo IcQl6EJGgk9TAKWam7JGd17NmrZNIjnsd+FSZpxndkPw0TeUwP4eaKPavdjeXHLEMI6/G6 1YftZTF8mSguw0U+iITTKZv19f+o1zR18fysAm2RFUab+ZbKLGUdCkg/gmBy4w== 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=595ac4a11893971ba17a51e0477d580e29e1ef7a commit 595ac4a11893971ba17a51e0477d580e29e1ef7a Author: Michael Tuexen AuthorDate: 2022-04-13 17:46:28 +0000 Commit: Michael Tuexen CommitDate: 2022-04-13 17:46:28 +0000 sctp: fix parameter type in NAT status message Thanks to Sriram Yagnaraman for providing the patch for the userland stack. MFC after: 3 days --- 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);