From nobody Sun Feb 20 15:01:03 2022 X-Original-To: dev-commits-src-all@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 12D2219D5924; Sun, 20 Feb 2022 15:01:04 +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 4K1pXc00qSz3PRl; Sun, 20 Feb 2022 15:01:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645369264; 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=jOWc2SQOcVVxBioYtyR3MMISiedzX/BbT5QaHQf/T7Q=; b=AN66dbXmUxlG8lI0arQ2/KN+U8GhUdJWVEqQUgcIqJBHg5wtmqMD0+J3y9s3LK7OqEHZZU 5x9ur7ZXHUV/X4uBgkB1RhMBnfE29c7edI7zLd4IpxiqLeuFxZf0bZdh5BaueHB6KknlKq 6u8fCpO3w09iE5fK12BBeHIlDoygFkJOR8fEjH+wciuFaqv752YI+RWByUqRzYFqPUkcOU Ly1p+hWIwxMTkhlqilp6fs2iT5DDp32M1MBv6LYMXw3M21+iISirL3gqliPYG2vsy99ezU 7NwxY2rZHPwMeplfeF+e4Lfp7vtxVC1CeGCrxLUlUH7UCyBZNcHVmhMO8lGIow== 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 D4A2C1E47F; Sun, 20 Feb 2022 15:01:03 +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 21KF13HX059404; Sun, 20 Feb 2022 15:01:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21KF13u0059403; Sun, 20 Feb 2022 15:01:03 GMT (envelope-from git) Date: Sun, 20 Feb 2022 15:01:03 GMT Message-Id: <202202201501.21KF13u0059403@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: bdb99f6f5e31 - main - sctp: remove KASSERT() which not always holds List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: bdb99f6f5e311cded759abceee8ee17c951a3b8d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645369264; 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=jOWc2SQOcVVxBioYtyR3MMISiedzX/BbT5QaHQf/T7Q=; b=yWR5hbfo7qzpkbTcnpnFUBVfP0tDCxdR+lNd68QFJgmtGvQ+l2MTNqrFmLqWXFeOWvH7zV s8QJvUPyVjp/e8jdI8dKxwINBy7Wv7+3TMk9lAQi++sXjg0u0kR0UI8BDeWdr20ijwU4Oo NUCK6xIPz73/TZyZTXy0soq7NSy3wzO5VOa8TGvZMN1SI1IYbzSRsi7GQYAnfeNOmEu5ZO gCLUtNAj4U0DQfbEPuFGasRXsOO3v4SXZnFCWUdWgIvv3YOZI+IWoetKbXxzqoXOfQbPy4 cQCbW2273+oYDfXXkoAO/bbxhgdN1kWUE9PuetEJP7KJEclVkDgwCyKNGWXsBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645369264; a=rsa-sha256; cv=none; b=NjlHOfcoVmCUmg8Ie0NCsL03OOE394i3WoUAmrje84cX8iB9TY5RPmFEzBNe9F0vXqOFSw ppibnmH+gATSApOXFs0naWGGOZcaJQXS4SMoNbLiZ5AN0gmUsE1FJQfbtIERkN3ElFntbg 9htWzZP7JfQtG5g7qPuUvv0j/TqX1SUuTqBH1DdFZwqz9DXFmohbdqHm9nGJWRFajuXAfK Vj5RY0/qzgZMEz+/TwXGz7k0P3N6KS9muUmnbI8mvTszyL31u0LynXZfV3bkaqR8Z5ohA5 hNFXkT3OfPXhr72NM67AzBBo7xrwcP3pQ8HGxQ8ZO9gx0UQfMXlhUDP83BeqSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=bdb99f6f5e311cded759abceee8ee17c951a3b8d commit bdb99f6f5e311cded759abceee8ee17c951a3b8d Author: Michael Tuexen AuthorDate: 2022-02-20 14:59:21 +0000 Commit: Michael Tuexen 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: