Date: Sun, 20 Feb 2022 15:01:03 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bdb99f6f5e31 - main - sctp: remove KASSERT() which not always holds Message-ID: <202202201501.21KF13u0059403@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=bdb99f6f5e311cded759abceee8ee17c951a3b8d commit bdb99f6f5e311cded759abceee8ee17c951a3b8d Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2022-02-20 14:59:21 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2022-02-20 14:59:21 +0000 sctp: remove KASSERT() which not always holds Reported by: syzbot+c907045aed2043011f3c@syzkaller.appspotmail.com MFC after: 3 days --- 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?202202201501.21KF13u0059403>