Date: Wed, 23 Feb 2022 00:21:09 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 985883fd1305 - stable/13 - sctp: remove KASSERT() which not always holds Message-ID: <202202230021.21N0L9KB091041@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202230021.21N0L9KB091041>