Allow the self reference to be NULL in case the timer was stopped.
Submitted by: Timo Voelker MFC after: 1 week
This commit is contained in:
parent
d88fe3d964
commit
2d87bacde4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362277
@ -1730,7 +1730,7 @@ sctp_timeout_handler(void *t)
|
||||
#endif
|
||||
|
||||
/* sanity checks... */
|
||||
KASSERT(tmr->self == tmr,
|
||||
KASSERT(tmr->self == NULL || tmr->self == tmr,
|
||||
("sctp_timeout_handler: tmr->self corrupted"));
|
||||
KASSERT(SCTP_IS_TIMER_TYPE_VALID(tmr->type),
|
||||
("sctp_timeout_handler: invalid timer type %d", tmr->type));
|
||||
|
Loading…
Reference in New Issue
Block a user