From nobody Wed Feb 23 00:21:09 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8E0FF19D6A76; Wed, 23 Feb 2022 00:21:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3Gsx3ZLPz4bpN; Wed, 23 Feb 2022 00:21:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645575669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tJsCc3tFJgZMCcDJD81H6yu4jmRYH/7CB+JkduuENCE=; b=RAGpqJ4fLlN0qjiUvsCLrTDNVq0uatvJqzLiItBpZbBm0M16pB/cy7nYd8Ta2i1ABR/mAd cA8Lwzenv53VzI7iFX5PghObyQedu2S+zTxVjyNTXYTYvjHJKqnW9+cC/X95MrPusb4hcD 4ZbXkG1uucyKQ2HLkqiQFODFhSk7k6aQfB7b7OiGE2q+b+hrINdmFokpajLGFwsx6f9opC jIPSNCTGOgLUVUwssHW/g5qbu7TZY7o1fdkm56NIjKQEYdh30/ZUv9wisIOmw8zpwQaIfk 8Ig5EgV2CAPlsS8kmHrFYNbg8/tiM43kR8fBaLa/gXxqOgMMTAmiCTXPXzcqMA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B600637D; Wed, 23 Feb 2022 00:21:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21N0L9nL091042; Wed, 23 Feb 2022 00:21:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21N0L9KB091041; Wed, 23 Feb 2022 00:21:09 GMT (envelope-from git) Date: Wed, 23 Feb 2022 00:21:09 GMT Message-Id: <202202230021.21N0L9KB091041@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 985883fd1305 - stable/13 - sctp: remove KASSERT() which not always holds List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 985883fd130593d8cd3a70a165b6173e270232cb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645575669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tJsCc3tFJgZMCcDJD81H6yu4jmRYH/7CB+JkduuENCE=; b=EgnbJ14KbDJ3vFKkIBNaYxPCXh9cad0x4iKFp5vmvFh/9UEPOlqS+7vqY/sMjmVkuNTu2h gygO50LluXDNQlRbagqeqiK8kqnUWG/6sfnvbcN/7NpwlOw7iWjC0hgwFyICJ5De9N8qdD RIWidHqWvy9jyguKvpT4gWyRPrks3MAchETt9KM4MhzcRgxKd0yeedxlHZUViFnZcjWER5 V9CWJYXCWtSn4BH8Dt08bofh+fPP66UTldraPwS4KLDzZFykqPLzvq3SShKLIR3lqPyzx/ wPlbAEIrYZ33QIkNoouf+x6uuhBasdqLpfBCJVoUZqclU8xdq1jcy8oRkWw9BA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645575669; a=rsa-sha256; cv=none; b=K3BOwKg6iklu/EPXKN657PLp0xfxrU1hn3jyYov/hiQ9iP/jgqvBhUl3G+rUbdlQZMAS0I UrjaZpXuGTBJFdGp6MELl+XdPCkvI7OlCio8QjGwV5A5Q6eTnaSo46zKpx64fhl0BrHVPT dc91uj5E+qPpOmv2sxj8TCoweB3jkjj1BbX1/yqXs9LYesXosolav6OsBsTEgJatR/THW5 3iAxIzNzc9v1nmY1aNchbyAIpTE7d/0uSM8wheMQEZ+k7+pvSWHwy2LqG5607nxVeV3iMs ijUAceaFzMdM6rvq1Y38pFm202uK6jI1diA0qVcS5bphlwMQxOTXagA0pLz/7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=985883fd130593d8cd3a70a165b6173e270232cb commit 985883fd130593d8cd3a70a165b6173e270232cb Author: Michael Tuexen AuthorDate: 2022-02-20 14:59:21 +0000 Commit: Michael Tuexen 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: