mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue