Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp588698pxy; Wed, 21 Apr 2021 09:56:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxInPZ5MrcT16mQEJZZhIi1c5xiQ0EPWmZPTlqrkxsj75CXFWlZXLF7Loe31eG4Aj4e33IP X-Received: by 2002:a05:6402:2216:: with SMTP id cq22mr11552840edb.265.1619024210939; Wed, 21 Apr 2021 09:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619024210; cv=none; d=google.com; s=arc-20160816; b=dmyzN/Wgf1rGxcZJvdn+IC9XkyXVcaUbmKWAdjTFaXm2vA2sNJgpC5XJ5xKQOlPRNW G6wuDJ+lSVlgnB9o8FBJNWPpnzEO/t3pzPwWrhr7YGLJ0VJUSi4K5PVZ9iknI/oZulVF kc3Z/vzA+mG9UDNUTOg78L2jylfmA1XU18eg0frSYdK/sHo33WqldcRG2VtsqDDh+2Kw 8t/4dMFyzFcTfi1x6JfNd9nZgDe5vDC+aCd6KvVHBmYWp29I06EtjFUlB07Ca1UUJ9F+ iZnvaMPVxaF9YF4z0gbXKpEV479+UE+w2NCbm4WZOyYKTkLsVLk8ChfG8ztKVl9Zfwsn wAiA== 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=VXjkS8Bfflqyq1mk/6GOmU0dxQPoVEM++HIhTIklSio=; b=VR+GT8HPwMX6EFwzQXTmimfA5vbdu8fz7DuuxkjO37mYPajSgcToO1smQIVbt/5xif QMiUI8qHGMZmfJnymdTw0xTsyw7BJblGvNNvKxNfOX11Htb19LR6hg8tw0uEdAhoCIt7 6+YULcVp4R7+J9eNMxjiGrRVhkOn+RrTnGmvR2kIbfKZkR6wmiTiKqXvsxNiTeioPNBS xn71TtdDBJzfvDbO7EOQyOr5ZAh4xYUYDzwLEzQP9f97+U2siDsNese4HUn/KT1QsbR+ L45rgQBsuJyMjIA3Ga6hwGQFre+QF97iF1VGEZXoc9fA+ec0s9YZ4ssjFjFd8171n0Ox s+wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rzFTDsxW; 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 me4si2236695ejb.622.2021.04.21.09.56.27; Wed, 21 Apr 2021 09:56:50 -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=rzFTDsxW; 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 S241031AbhDUNRW (ORCPT + 99 others); Wed, 21 Apr 2021 09:17:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:48828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240931AbhDUNIF (ORCPT ); Wed, 21 Apr 2021 09:08:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A9F0C61481; Wed, 21 Apr 2021 13:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010446; bh=axp8ZtO9rceHkftXycmXGbmBF9wxgi+ovAPOMCjc6mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rzFTDsxWCxXp6WLKEI/iCb/ZX+qHA9T9T61gwDuKhuDAV4yX1AXaCAuav0KsGNofA ScjDurrzgndW7MkJDwRnXMcWiXG5zc1KLQSSjp13yNU64OerElxmL6qS1GJa3Rmsdw V/CZivOBSDzgq7cxMY7hdwaHB5kIPTV7dp0I7+P8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , "David S . Miller" Subject: [PATCH 138/190] Revert "net: liquidio: fix a NULL pointer dereference" Date: Wed, 21 Apr 2021 15:00:13 +0200 Message-Id: <20210421130105.1226686-139-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 fe543b2f174f34a7a751aa08b334fe6b105c4569. 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: Kangjie Lu Cc: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/cavium/liquidio/lio_main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c index 7c5af4beedc6..6fa570068648 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c @@ -1166,11 +1166,6 @@ static void send_rx_ctrl_cmd(struct lio *lio, int start_stop) sc = (struct octeon_soft_command *) octeon_alloc_soft_command(oct, OCTNET_CMD_SIZE, 16, 0); - if (!sc) { - netif_info(lio, rx_err, lio->netdev, - "Failed to allocate octeon_soft_command\n"); - return; - } ncmd = (union octnet_cmd *)sc->virtdptr; -- 2.31.1