diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2024-10-24 20:00:59 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2024-10-24 20:00:59 +0000 |
| commit | ce5b5361d4d1b3868631baa6870ba6e1e6ec8330 (patch) | |
| tree | 4d880054f6462193ab938e5b224bd217cf996eac | |
| parent | db08b0b04deced766c3b5f07bcfb82333666226c (diff) | |
| -rw-r--r-- | sys/netinet/sctp_pcb.c | 11 | ||||
| -rw-r--r-- | sys/netinet/sctp_pcb.h | 2 |
2 files changed, 0 insertions, 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 @@ -249,17 +249,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) { if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifap->refcount)) { 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 |
