Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp276305pxy; Thu, 22 Apr 2021 01:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvPtXH4psoCVjwnPsH5/fVRUv0uu0z9csHnMRYYEep4yKg5NMsfMLrRfZCrf7UtZQPFuUx X-Received: by 2002:a17:906:6544:: with SMTP id u4mr2165477ejn.455.1619081018880; Thu, 22 Apr 2021 01:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619081018; cv=none; d=google.com; s=arc-20160816; b=W1os7mf6qYTi4P1ELl2UsmBWl3C7g4udJwO8qJollktzgJ3u1hb54OoXHAkV731zhl cAcySKCniG/j7F9OPpCeafp9XFi/coh0vXGXNKWPBpPhZN0Zz7AvV3bnkh76fOxq4cea c5fiRVgRpaZfDaNNfN7ngvvN1LuHDQVMDEmLiWiMRu/BwZPmiK+TUIbMV96NOB+O0g8Y zXy2rVA3cdi+b17bb0duEE6z6Zn++0Z6cF2cHnODwfR2+uZ/u58FwbO+Tkzsku54AOFv rlxNeSCLoWNa97BkAXX1tPphqGZlUosPkWOfud5aLNfWh4Paz5/68GAbgie689QwbuCM Kt2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=oWb/mM4sT9RYlcFKujTPe6+yovFz5T1MNSz1eSw5nfM=; b=z2FH9lMWH7GppH07FkhEXfRaT3mxh9x6/J+89sLpceZsfv3o8JSvCjlltqW70C21Y+ yL3804kEzSPiSGpg/rMXObFRQ9w1CQ4PsWc+NetfgWfME7CafLCOlb8Sh+OSCiSXCZVW BywiASDMg2jAHuuLQEc9CQFJkOVDWtL63rKsg1rHtIy4hRm5s7gJ1XPcd8/bPKmGBq93 SroOQAtOugGl/GKyiFmSQ0pFrdVW99IsfMdJbnCfqmPwQINPVYHR6nO2qNxLmgBRFBZl rUBsyaRapzYehBUyBfa8Yl2EzaQqWnt2kAkm5odKdWpYXmLlucoKznz9f0rg111wN0ma ol6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si2136620edk.255.2021.04.22.01.43.15; Thu, 22 Apr 2021 01:43:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235483AbhDVImp (ORCPT + 99 others); Thu, 22 Apr 2021 04:42:45 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:45434 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbhDVImo (ORCPT ); Thu, 22 Apr 2021 04:42:44 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id E23B61C0B7A; Thu, 22 Apr 2021 10:42:08 +0200 (CEST) Date: Thu, 22 Apr 2021 10:42:08 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Aditya Pakki , Mark Fasheh , Joel Becker , Junxiao Bi , Joseph Qi , Changwei Ge , Gang He , Jun Piao , Andrew Morton , Linus Torvalds Subject: Re: [PATCH 055/190] Revert "fs: ocfs: remove unnecessary assertion in dlm_migrate_lockres" Message-ID: <20210422084208.GB5316@amd> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-56-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline In-Reply-To: <20210421130105.1226686-56-gregkh@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2021-04-21 14:58:50, Greg Kroah-Hartman wrote: > This reverts commit 67e2d2eb542338145a2e0b2336c1cdabd2424fd3. >=20 > Commits from @umn.edu addresses have been found to be submitted in "bad > faith" to try to test the kernel community's ability to review "known > malicious" changes. The result of these submissions can be found in a > paper published at the 42nd IEEE Symposium on Security and Privacy > entitled, "Open Source Insecurity: Stealthily Introducing > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > of Minnesota) and Kangjie Lu (University of Minnesota). This patch is correct AFAICT. Pavel > index f105746063ed..f89dcf9b6217 100644 > --- a/fs/ocfs2/dlm/dlmmaster.c > +++ b/fs/ocfs2/dlm/dlmmaster.c > @@ -2554,6 +2554,8 @@ static int dlm_migrate_lockres(struct dlm_ctxt *dlm, > if (!dlm_grab(dlm)) > return -EINVAL; > =20 > + BUG_ON(target =3D=3D O2NM_MAX_NODES); > + > name =3D res->lockname.name; > namelen =3D res->lockname.len; > =20 --=20 http://www.livejournal.com/~pavelmachek --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmCBNuAACgkQMOfwapXb+vIHpgCgwxP0uw6d6FX5YFQo7Bji0a4f y5QAoK02fHQWPtTd9l+6V7p0dk/6pQuM =mT4y -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F--