From nobody Thu Oct 31 14:03:41 2024 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 4XfQhG1T19z5blsC; Thu, 31 Oct 2024 14:03:42 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfQhG11MVz433h; Thu, 31 Oct 2024 14:03:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730383422; 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=KaKUL6VwAaCUWD2bP/7QMZ6nzRPxkPrnT3bQXabGIGQ=; b=um9ZZwRRQAHxhGXsYWLVyiiHFxj8cUxkYOWoaObyM89wXSK1HSy/RT+7IPxsXtMxaLjmT7 2vS+hAAuLTP8eZZ7EDyysTxyra0d+Ks4Q6jXy2h16GvoBM5dOa76YGgvvzfuOdRf5p3gfE kfKUdv76/wqiUuvHmS4LTTsh0wqN9hBLxg2tCGkRZ2+iYA+miNxlUpJl+MAidlj7wzqcHh UqvPaLNtADBWF/pqGe5L0xjJaPV6r63bByPBV/2A48Bz/arHYKBU/6btdCrxF4Xb0xn7kf 6y1KB4eBJ3zdig3WEyPDtpvJTETKIft4tD43gDyzlonzlp9de3K3Z+/wQ6mEfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730383422; 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=KaKUL6VwAaCUWD2bP/7QMZ6nzRPxkPrnT3bQXabGIGQ=; b=T4M4N6O4k1SmuGRpPKbUksd/5GSfvpUYEAx4eRFvjy5vICTOsayO5wfS+qJ0NdyrlDLcro 84hVTfAHKj0PhXNvZqD9oOZRiWVo4ms+o3+MwjK/fOkEn2NB6fTDNeWGIbQp3GO8B4WnZK YF/rZnDa+Lsus+Izo8r47mw/9k6/sFKfTh76Jn66joM/zQtjQIARAGBuIidmOt42R5js+P S0K7rruKR3HiwK4wKMrR/WYqPpKWCqgUQOyv1ZOPrte40n1z4dfif6WBPQh6ToQc4ZLRbC MUyb5eG5XEU3M1iWqw0eNHcYUlzs1cjDE1G+585KqbI8hTH8g/lLWxcp7UKh8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730383422; a=rsa-sha256; cv=none; b=GP2kPZLMKTlDFIkmK5TbWPOPrQt43cN1Pg0X3p+kExpdwLmw4/6Y3zkij1+GsxmvIDqi8V W0xAZLN3Dv48/SznQVrcnI8KH36LdglimmQ6WVuz8FA7nZdM/4OXdYISzG6ygAaluQ0LIi HRvdghaAYy/HhtuBbY9sqwBUm7k5VYIGGdl8id4RZIIl9OzBWqGrpjmuNCxBKfv9fyAbWY xrlRY+glc78omtRdTXaCDuBfDrhZbGalXtLgSkHAFRJg1x6uVlZvWODTAy57BapXujaiB/ Iyz/dUJarH7azLyGRQ1kFtvVTecE5DHZ77puZ8Sbqrxk8Ml4LflCtk/PVi/dTQ== 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 4XfQhG0Y8SzfY1; Thu, 31 Oct 2024 14:03:42 +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 49VE3feW049459; Thu, 31 Oct 2024 14:03:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VE3f9T049456; Thu, 31 Oct 2024 14:03:41 GMT (envelope-from git) Date: Thu, 31 Oct 2024 14:03:41 GMT Message-Id: <202410311403.49VE3f9T049456@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: 129057d5fadd - stable/14 - sctp garbage collect sctp_update_ifn_mtu 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/14 X-Git-Reftype: branch X-Git-Commit: 129057d5fadd06e2c3644b60a8f9bc76868d2e51 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=129057d5fadd06e2c3644b60a8f9bc76868d2e51 commit 129057d5fadd06e2c3644b60a8f9bc76868d2e51 Author: Michael Tuexen AuthorDate: 2024-10-24 20:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-10-31 11:42:13 +0000 sctp garbage collect sctp_update_ifn_mtu (cherry picked from commit ce5b5361d4d1b3868631baa6870ba6e1e6ec8330) --- sys/netinet/sctp_pcb.c | 11 ----------- sys/netinet/sctp_pcb.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index f3d477e2a9a8..3665b8e2f211 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -248,17 +248,6 @@ sctp_free_ifn(struct sctp_ifn *sctp_ifnp) } } -void -sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu) -{ - struct sctp_ifn *sctp_ifnp; - - sctp_ifnp = sctp_find_ifn((void *)NULL, ifn_index); - if (sctp_ifnp != NULL) { - sctp_ifnp->ifn_mtu = mtu; - } -} - void sctp_free_ifa(struct sctp_ifa *sctp_ifap) { diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index ed6a1c34ccf7..86c244c71544 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -506,8 +506,6 @@ sctp_add_addr_to_vrf(uint32_t vrfid, void *ifa, struct sockaddr *addr, uint32_t ifa_flags, int dynamic_add); -void sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu); - void sctp_free_ifa(struct sctp_ifa *sctp_ifap); void