Skip to content

Commit

Permalink
Enhance timer execution debug log.
Browse files Browse the repository at this point in the history
This makes the information for timer execution match that for timer scheduling.
  • Loading branch information
JonathanLennox committed Apr 15, 2024
1 parent d45b53f commit c438ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usrsctplib/netinet/sctputil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c438ff5

Please sign in to comment.