Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp560794pxy; Wed, 21 Apr 2021 09:18:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVm6qIo6bkVFfFkb0rbf71876cY0eEYxxGnUmJUdwavYr8TWh4lv4oFds7jVOrXPF+pr6r X-Received: by 2002:a63:f303:: with SMTP id l3mr22725590pgh.263.1619021882585; Wed, 21 Apr 2021 09:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619021882; cv=none; d=google.com; s=arc-20160816; b=kiSgnwCzhTIoZYKr6I7sKLoCeshoA8/0M6e4XKXmlcq2h1wKMJKrys0ohDvaz7UO6X XLBohR0k4AKjl8tsOXJWUyls5Xq+S8F0MkHHZB0TGlit3P8yPzZnNuMw79GraFn6MT5J XUlU6QiEHDsYormtEg2nLULGjR4WP7uZle6QSl44seylVjtlmR7tW1ydQEsIHCmIGeOl 3hKQoXDYXHO/gM6PjPS0n2Zw9CLRYHHfClBX7G0RvoJKMsGLbFz0aia2cinGax84oVmE 8RP66MRmej+J2S1gLyJy9DBm36jk8TrUMstNCKi9qEW0U97J0iFSdvoNbjg8os/ml9LK 7aHg== 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=01YvCZJyJIZLn2VviX7XmDG9UWIvrcCjyn7VQX2cBtc=; b=o7WoGz91RaHgF9C+XIJRLs6qGh9RNbfJHoBWaoXQp7mnTjfZk8rd4wily713iiWAW7 rGRs5gKmNZXolOhw1AILoxyF3hTEDqhjqMOY5IzTfKNoIxF8JzOvwCe2UTT5a+FGU2CN dj8EtdpB5046ByPZBGTQZIUIw6rSCrnfyuJg+pfSbOb6+gGzvORltP4OFNImMvU90EYP /Yl/uJUeTofowI3Qn1F6P6tNscW1DVUkejba8Dx6HEvt18LCofpM2wLzx7RQVo9ZNsk+ rWmj3MZ3W+9SgbW89bPIlMMOGeQws092IA5Vh70DhwHahKhMwQZfLWM8pGKdsA36OrZx mOlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="s5VVF/Ar"; 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 c5si3148663pfr.226.2021.04.21.09.17.50; Wed, 21 Apr 2021 09:18:02 -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="s5VVF/Ar"; 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 S239689AbhDUNKV (ORCPT + 99 others); Wed, 21 Apr 2021 09:10:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:46176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240190AbhDUNHq (ORCPT ); Wed, 21 Apr 2021 09:07:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 64ABD61458; Wed, 21 Apr 2021 13:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010430; bh=Z5M1vDqlkja65SXgBTo/1DSiMwq/dNqYmwrQmMmlacw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s5VVF/ArdHO6lc9TVbfxOf88db2y2fUqISvp630gX+fWnZejvxqKReZqXrnF378+y MmbBvhGxmStIwlQWPX/6BQ65brDH0/KrLrlP52ONs2+mZ35GNwi9P9L72kZvfxVBWd rPtoU5UsD9HstSL6j8JzmZf9/Tj778gX3tJztDfM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , "David S . Miller" Subject: [PATCH 133/190] Revert "net: qlogic: fix a potential NULL pointer dereference" Date: Wed, 21 Apr 2021 15:00:08 +0200 Message-Id: <20210421130105.1226686-134-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 eb32cfcdef2305dc0e44a65d42801315669bb27e. 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/qlogic/qla3xxx.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethernet/qlogic/qla3xxx.c index 214e347097a7..50dbb8205e6c 100644 --- a/drivers/net/ethernet/qlogic/qla3xxx.c +++ b/drivers/net/ethernet/qlogic/qla3xxx.c @@ -3863,12 +3863,6 @@ static int ql3xxx_probe(struct pci_dev *pdev, netif_stop_queue(ndev); qdev->workqueue = create_singlethread_workqueue(ndev->name); - if (!qdev->workqueue) { - unregister_netdev(ndev); - err = -ENOMEM; - goto err_out_iounmap; - } - INIT_DELAYED_WORK(&qdev->reset_work, ql_reset_work); INIT_DELAYED_WORK(&qdev->tx_timeout_work, ql_tx_timeout_work); INIT_DELAYED_WORK(&qdev->link_state_work, ql_link_state_machine_work); -- 2.31.1