Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp582732pxy; Wed, 21 Apr 2021 09:48:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrx1bWsEiLY0RAa1fX1JoAe6O5dn8g0d3FHQ79WADImVaAPHsV+YB6aKT4RqTG15AY+R2n X-Received: by 2002:a17:90b:388c:: with SMTP id mu12mr12272493pjb.51.1619023695888; Wed, 21 Apr 2021 09:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619023695; cv=none; d=google.com; s=arc-20160816; b=GTRZjBvyloHexGlABkrs1Fc08dbzNVSflIbCiReekTNmp8n2hwLTp4/zPJb5h1R0ZF x2ERN+JH+1hRX/UzTc6QWMkRVRsh1A3Wcnh1t84PUhWSQ1//gh8X6TEEDbZNUs0M+Gaf v9ccPK+otSHwgx7FgoCuYUodWSgRrRxGWdGPwOLYJhWaIjdQ5nt+mMfqe8RGyNE2BuZN WTmrNkl4TS/NdX+ezjoV7nc/2T7xbtBjSSoN+HMvG8DH+LfCShphgyj5cf9cE1E6eUz+ a1EOhcJt1e39GtmxN+3+I2ZEQgY4G6k7v9XdfLxIUt41mknfUIP2e0DYFoRIS9hzm0oA UUww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NdxjgNOxuOPNHrXgZLmPyaIATJrOETiflJTpqPilaI8=; b=m4ZH/XwpSGyXtEcKJGtmHViqxXexE6p4dyJ4pPFASm+4Fk9OFJO0uWm3FmRpvA3o0Q nV5//bwBi+RrVi8U/6L0p2UTxNt67ilOsn83O/CXW+41MRkKgAU+1nBnEUMjRY4H0HpA 87hiSPfsKxitHCrI08uvWcyFaR/iDbNtWheB3I7yvG3+dH/wdMCRzaVkXHZugin0eNFT kTaJ7VDxcRL104LxUi0QBlY6ZOJhtTq9hBsPmFsP0PpyMgscSXea4g2xwu/YYgOSs97e xQYKQOXi/PvDST1hifA8an97aEZObSILIJUw4F4KZACVcYNjUsmItMJbA6tRNdwMHl1C nftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=epCJKOst; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si93720plz.247.2021.04.21.09.48.04; Wed, 21 Apr 2021 09:48:15 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=epCJKOst; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242390AbhDUNOn (ORCPT + 99 others); Wed, 21 Apr 2021 09:14:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:52380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241977AbhDUNJk (ORCPT ); Wed, 21 Apr 2021 09:09:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3E19E61461; Wed, 21 Apr 2021 13:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010546; bh=2EYbLsTe0x7uxXLaPUonyr3rilOP99vjCPW3bqHK80E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=epCJKOst4ZsCXIDOaeApCRXvjsRVPzh0ogTgJF8mTuha6W8gz7Foc/lHO3ydxpgQX b/PZs75dWdmELCaEbTRLv1QpwWtR7BbH+WFfQ964ZRp7QzRhrKRrBgAPxk79S1hxRH 2sGRCBVU27rttzQQOVRvf54yreASKcNmxogHU16w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , "David S . Miller" Subject: [PATCH 174/190] Revert "net: chelsio: Add a missing check on cudg_get_buffer" Date: Wed, 21 Apr 2021 15:00:49 +0200 Message-Id: <20210421130105.1226686-175-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit ca19fcb6285bfce1601c073bf4b9d2942e2df8d9. 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). Because of this, all submissions from this group must be reverted from the kernel tree and will need to be re-reviewed again to determine if they actually are a valid fix. Until that work is complete, remove this change to ensure that no problems are being introduced into the codebase. Cc: Aditya Pakki Cc: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c index 23a2ebdfd503..c7378da78a83 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c @@ -1638,10 +1638,6 @@ int cudbg_collect_hw_sched(struct cudbg_init *pdbg_init, rc = cudbg_get_buff(pdbg_init, dbg_buff, sizeof(struct cudbg_hw_sched), &temp_buff); - - if (rc) - return rc; - hw_sched_buff = (struct cudbg_hw_sched *)temp_buff.data; hw_sched_buff->map = t4_read_reg(padap, TP_TX_MOD_QUEUE_REQ_MAP_A); hw_sched_buff->mode = TIMERMODE_G(t4_read_reg(padap, TP_MOD_CONFIG_A)); -- 2.31.1