Skip to content

Commit

Permalink
sctp garbage collect sctp_update_ifn_mtu
Browse files Browse the repository at this point in the history
MFC after:	3 days
  • Loading branch information
tuexen committed Oct 24, 2024
1 parent db08b0b commit ce5b536
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions sys/netinet/sctp_pcb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions sys/netinet/sctp_pcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce5b536

Please sign in to comment.