aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-09-10 09:11:39 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-09-10 09:11:39 +0000
commit13018bfae80f10bfcd6aad1fbe3e3feb24ffe353 (patch)
treec4140299816294a598c423bb85d5fb27daff64e1
parent53af9c235f5d368ce788d99e16951a167a152bbc (diff)
ip_reass: make stray callout assertion more verbose
Syzcaller hits this assertion, but can't find reproducer. I also never seen it hit in my testing. Try to get more information via syzcaller.
-rw-r--r--sys/netinet/ip_reass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_reass.c b/sys/netinet/ip_reass.c
index 5227b1387c69..aa5c99a3624c 100644
--- a/sys/netinet/ip_reass.c
+++ b/sys/netinet/ip_reass.c
@@ -600,7 +600,8 @@ ipreass_callout(void *arg)
CURVNET_SET(bucket->vnet);
fp = TAILQ_LAST(&bucket->head, ipqhead);
KASSERT(fp != NULL && fp->ipq_expire >= time_uptime,
- ("%s: stray callout on bucket %p", __func__, bucket));
+ ("%s: stray callout on bucket %p, %ju < %ju", __func__, bucket,
+ fp ? (uintmax_t)fp->ipq_expire : 0, (uintmax_t)time_uptime));
while (fp != NULL && fp->ipq_expire >= time_uptime) {
ipq_timeout(bucket, fp);