git: ce5b5361d4d1 - main - sctp garbage collect sctp_update_ifn_mtu
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 20:01:43 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=ce5b5361d4d1b3868631baa6870ba6e1e6ec8330
commit ce5b5361d4d1b3868631baa6870ba6e1e6ec8330
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-10-24 20:00:59 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
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