aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2020-06-17 15:27:45 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2020-06-17 15:27:45 +0000
commit2d87bacde4f3c2c86517e10f9ebf806a2cfd92a6 (patch)
tree167f99aa256a8353d9bffa2bb396abc7ee1af291 /sys/netinet/sctputil.c
parentd88fe3d964ceca3db27d7516d03175199f006f22 (diff)
Notes
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index eda81df766c33..7a7450f2720ab 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -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));