git: 985883fd1305 - stable/13 - sctp: remove KASSERT() which not always holds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 00:21:09 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=985883fd130593d8cd3a70a165b6173e270232cb
commit 985883fd130593d8cd3a70a165b6173e270232cb
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-02-20 14:59:21 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-02-23 00:19:41 +0000
sctp: remove KASSERT() which not always holds
Reported by: syzbot+c907045aed2043011f3c@syzkaller.appspotmail.com
(cherry picked from commit bdb99f6f5e311cded759abceee8ee17c951a3b8d)
---
sys/netinet/sctp_output.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 43804b161cda..a46264cd3efe 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -13696,8 +13696,6 @@ skip_out_eof:
KASSERT(stcb != NULL, ("stcb is NULL"));
KASSERT(hold_tcblock, ("hold_tcblock is false"));
SCTP_TCB_LOCK_ASSERT(stcb);
- KASSERT((asoc->state & SCTP_STATE_ABOUT_TO_BE_FREED) == 0,
- ("Association about to be freed"));
out:
out_unlocked: