git: 89c6aba7cfa5 - main - sctp: cleanup

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Tue, 19 Apr 2022 19:40:59 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=89c6aba7cfa5327d814eb54336b3e9640cce0fac

commit 89c6aba7cfa5327d814eb54336b3e9640cce0fac
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-04-19 19:40:22 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-04-19 19:40:22 +0000

    sctp: cleanup
    
    MFC after:      3 days
---
 sys/netinet/sctputil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 49a8abbc9ccf..cff19a48a3c0 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -2885,7 +2885,7 @@ sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb,
 			 */
 			tmr_net = tmr->net;
 			tmr->net = NULL;
-			sctp_free_remote_addr((struct sctp_nets *)tmr_net);
+			sctp_free_remote_addr(tmr_net);
 		}
 	} else {
 		SCTPDBG(SCTP_DEBUG_TIMER2,