From nobody Thu Oct 24 20:01:43 2024 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 4XZGyb4cH4z5ZncS; Thu, 24 Oct 2024 20:01:43 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZGyb3br6z4v15; Thu, 24 Oct 2024 20:01:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729800103; 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=U5zzSgIDpy1JkCfMOqsFVbGacfQErtvQVQH+gkGKAww=; b=fPJav14gC5YOc2Ldbu9Ca7hF7p2AS5PtmpsjGFnSxgiO2ofinuVb42Aqn8xIKqDnCuyK2m uARoqEIWNLW28CN0RmJrl7NUtY5SJOShlV61OvoPhA99/dqwO0Oy39/0Rqa6VHmPLBrj0f m/F0JWtYKlCp8SBpvJQum9zPDtbMdLkATkBNza+20OECfKE/fAKuTn4ecdw4JjU421nO5/ dvL5p7a3Mp/xqWkupOaj1LP8Z6ZUJSKSJCE9eNW3UhKToUVbIQt0wN4kJYdlEdAL0My0bq kXQF2pmidiq6J9/gCXkSkbV+5TNcC6uCQ2JLY7DrNraJ8bdHgn9UZOnmuzRIOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729800103; 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=U5zzSgIDpy1JkCfMOqsFVbGacfQErtvQVQH+gkGKAww=; b=KSDyAYbs6nKl6RLx1KhcsT5cqKba4KBSFmqgBY2UeyyF5iFCmDenZZ8ofTKo/TqvcgeJSk inSLK8PRmL0QBjv63ujVjwRdEqSB/7EaISkc4IDAAJ6KDe1J4ZeQPzKwN9wIQ8G1s294Im Raj+rtOFVHq8BReh29a30nQEf5cLHvXWXGtlq1KJfk4dXIrkhAojNAyxkLd/vmQuuwGkpC MtQAR26GdJNCE2Bof4O0WUodVoVaOc4jGHcm+XCf2e5uXNjZx1S0mSc7FMQpPDjuIVAXds utFhAFw0FOO/oHDdGSja5RVUDabt+raoQLVdzrkW9yLxNt0lXO/QF3SNfYi9RA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729800103; a=rsa-sha256; cv=none; b=EjrZWHInH8G0mpHd1iSPp1cWq1ZdTiYq+j4+oqfxVrFdK1eFEbVI+rsfry4PsSsSZyrCxS bnB3kB86ETpZwErB4gFDWdwU9Ku87xFBcOPVRwYFURx8HBDF1e6DFRh+jdXGYOr1OPAPu8 lSm1S8NEJcRpM8mVmpPtMn5tzaSdMqlHiZejXC6etu/omcD7i+YcBN5KQ5dVEhRpfgraFQ 1CDHffIRtDt78cwhkuWQDICmNqZhZFoVPapIm7DuwoxpwBq2bLtdgl97BhepQmBkLvsvDZ 742HYXTZSOorEwNcnQrI4N3vUICxglXmXCFGtkfWc9OWWixdRxU1WNSLI3vCow== 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 4XZGyb3CPXzwt9; Thu, 24 Oct 2024 20:01:43 +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 49OK1hH6010855; Thu, 24 Oct 2024 20:01:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49OK1hdZ010852; Thu, 24 Oct 2024 20:01:43 GMT (envelope-from git) Date: Thu, 24 Oct 2024 20:01:43 GMT Message-Id: <202410242001.49OK1hdZ010852@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: ce5b5361d4d1 - main - sctp garbage collect sctp_update_ifn_mtu 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 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: ce5b5361d4d1b3868631baa6870ba6e1e6ec8330 Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=ce5b5361d4d1b3868631baa6870ba6e1e6ec8330 commit ce5b5361d4d1b3868631baa6870ba6e1e6ec8330 Author: Michael Tuexen AuthorDate: 2024-10-24 20:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-10-24 20:00:59 +0000 sctp garbage collect sctp_update_ifn_mtu MFC after: 3 days --- 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 f25668b5756c..3b59a72e1f1a 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