From e8da23960041019e20723a8ef8d2fc1c61d83995 Mon Sep 17 00:00:00 2001 From: Jonathan Lennox Date: Wed, 17 Apr 2024 15:05:39 -0400 Subject: [PATCH] Enhance timer execution debug log. (#708) This makes the information for timer execution match that for timer scheduling. --- usrsctplib/netinet/sctputil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usrsctplib/netinet/sctputil.c b/usrsctplib/netinet/sctputil.c index af062001d..1abfea3f2 100755 --- a/usrsctplib/netinet/sctputil.c +++ b/usrsctplib/netinet/sctputil.c @@ -1830,7 +1830,8 @@ sctp_timeout_handler(void *t) goto out_decr; } tmr->stopped_from = 0xa002; - SCTPDBG(SCTP_DEBUG_TIMER2, "Timer type %d goes off.\n", type); + SCTPDBG(SCTP_DEBUG_TIMER2, "Timer type %d goes off: inp=%p, stcb=%p, net=%p.\n", + type, inp, stcb, net); if (!SCTP_OS_TIMER_ACTIVE(&tmr->timer)) { SCTPDBG(SCTP_DEBUG_TIMER2, "Timer type %d handler exiting due to not being active.\n",