From nobody Thu Oct 31 17:03:55 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 4XfVhC2KkTz5c2Y9; Thu, 31 Oct 2024 17:03:55 +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 4XfVhC1q9Rz4nvb; Thu, 31 Oct 2024 17:03:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730394235; 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=/2DFE8q0HdIT0ESHTATxXEYBvDFs5ROsoPFWOWDJ63w=; b=iLQnT+GxGVyWNS0blhW/F75wOhW3VbNPRkp4hy8j8bAnWEBKcw3NmH/ZJvmQevCIW4Bnau U08urOVgUtKbS/c58c1cfOsPvuRNBwpLPztLt+mOmBwfW2WuzOiNYke1Yd0Cq3X8KCSdtn j0cp2ozauMXkK/70zV1nzogjOp7hDsdxLiRd0f0PPWOiY0i+jSH7JcWiRrhMVY4HJVvnUs BrjYv4MdupUKInHpRF2lSqYe9KVb3hRcA4qBGuKyPEKk2xsBapRy+Rd/jTAXPUgpLIc73r FweOWqfl9dcJw4dlwnmQTe3FhvkKOFeoyk5NLHSh4OW6PQJnHJZ4qP04UU4NEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730394235; 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=/2DFE8q0HdIT0ESHTATxXEYBvDFs5ROsoPFWOWDJ63w=; b=yJU17uP3kLDfenDS0tjI8P0V9y9gIyjS8fgJ/BB3kNtbE0fOgxBYp1Cxv4f5BGBNMc+MMT OA618XS3GbmAG/8Z+IqHQ+A4wKbPYFTu1sfwGBpgjQUIpb1A9C+px/+voi5bficE9SVm39 vyx5fXrSwbtWRCVMa5odMmM/PUB0jme5HpfA1bLKaScwvZkTHBzl4lMgp0DZ32j/0k1Hzn 2o5b2FO9ccZ8qzY15oTYqVIvBOGdtbwxUNoLe/pvCYM8PeiD1lyhccxUshGjM/3D0ch9Sw +nRKqe9nJvP+5QEMm5meFKBLNQrjaqQoGbPamNbhcf1BfONWBTzu/ySanbM4sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730394235; a=rsa-sha256; cv=none; b=ZxtxlTGeTk5Ds8KOmysxcgTDK7qQqDrR4wVGOkf75HH0gwYq6PeGJcjR9LRgub4jVeHe6l EFntDQBNdaNNqnVr92u7CqHNB6XYpcJC/Chqrs5n5lMcCFOEMUiOFJFZ/TTVgd1Fhkuk1H ElPLv7mBPbEjvWNpPhDjDvU9QA6UqDi1mPQBKASk6Oe29qFUEoVL7qnBvi2Z3SL/lYrlnf BCLDtIQBMKPkUa84psr0rHpaDyYc3noJ+rpRKiizYlZ2FEz225UZZEGd7hJjzI/fsurmxi wQ3gSIJ8es1KjxaGEE6XWRKvDcNmAs+VHvZa0FSOxwLdIDlPZUvrt450MJ71ZQ== 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 4XfVhC1QY5zlJK; Thu, 31 Oct 2024 17:03:55 +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 49VH3tdt090871; Thu, 31 Oct 2024 17:03:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VH3tc6090868; Thu, 31 Oct 2024 17:03:55 GMT (envelope-from git) Date: Thu, 31 Oct 2024 17:03:55 GMT Message-Id: <202410311703.49VH3tc6090868@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: f735547b21a0 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: f735547b21a02068abb0cddc84b7e34e9cc81865 Auto-Submitted: auto-generated The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=f735547b21a02068abb0cddc84b7e34e9cc81865 commit f735547b21a02068abb0cddc84b7e34e9cc81865 Author: Michael Tuexen AuthorDate: 2024-10-24 20:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-10-31 17:03:29 +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 cfac25c90891..2bc3958af3de 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 51d5a2bad239..d349519e4ce1 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -505,8 +505,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