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