Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp474884ybd; Sat, 29 Jun 2019 00:46:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDf3MpvekTAkshtfmc62TvKWS0REdOVK48wmHyZ2bwxRPsHKYHpP7VCdK4T+0JDhY9zG1r X-Received: by 2002:a17:902:b594:: with SMTP id a20mr16827564pls.259.1561794379708; Sat, 29 Jun 2019 00:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561794379; cv=none; d=google.com; s=arc-20160816; b=mxHmpJUG93a0W3JyRlfDu1HYxs11dxwOgvwcfb9IcSdox65cqUvoEQ0j1H6c2l+IQB ytmaVTNGuYqWgPbZzEhkPl+UZMf/eA1a4uiAjWYWYI2uLjL8loDUZR6CNIKgy5rtHqc9 whnx7wvvp+5akRkQtf346kpm75w2Bp7fMO6XgDCVcKLVweZwkWaw+lfQpKo747LVLFYP ONX5MznT1YNKawSPVr6DYPL4CkfrmwhoMxrHBKzUgFZXbwWKna3bn2XP8bnsvGh4eS+E 9FUJp4emMLheil+498+OHL9WQ2yKmkP4Km+sgyJBUrzAGziUytZfG3lXcLisACdmdEFs whYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ELhYI4LQQeApR5JyNlewPQvXh87B35ifUFpFYrtJx4E=; b=UOOs3za/gq4xJrguSO7AN3DB2WuXUQgXsz45GW40yJk2b3LsnBZeXJjknV7ZJoo3b4 NS4C5crF1lQzQhV2jBepQRB3Xg0P5rs1eDAQ7cvpxa5ZUgBTNQqx4Ia59WOeMw1zHn8N UrirTxOuwu7gzNpE2OOA499RVsfhXhTLobXdlpC21QBPoFc68sL9Az5mmGkdr88z71P3 xf5wDVvsEVxh5WlmzzcSRXOt0720o+fwLRLtXhlZqRUH4YzIJfKMEcvjo9TtGYslTF3X NbBuL9WuWcnuE1llpK+QAgVQM1uEejvMTP72JwFlC1v1GFt59zborfEOzcqYllvkhFsy mKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="j/nxeZFs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si4306600pgg.378.2019.06.29.00.46.03; Sat, 29 Jun 2019 00:46:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="j/nxeZFs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726874AbfF2Hp5 (ORCPT + 99 others); Sat, 29 Jun 2019 03:45:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:56032 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbfF2Hp5 (ORCPT ); Sat, 29 Jun 2019 03:45:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D84F5214AF; Sat, 29 Jun 2019 07:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561794356; bh=sLLH/3nMbbtUX5/jPH3tYQ4Sy81gT2DLouUp2Zn3m8A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j/nxeZFsvzDkJ/wYt5bmYrfTbc3x7nC8oSrcvC+W6aAoi6x0mFz0biupnIuytzAWs 3buw+GwJWcWQh2jpJvO2nCkvQ2eGBVkIAAKri9iDtbi1Vpy3dGveJNI0pmozy6xiiU pfSRqaUcQ47qKW0WmhI/5vt/tEDxa000mcolBCa8= Date: Sat, 29 Jun 2019 09:45:53 +0200 From: Greg Kroah-Hartman To: Josh Elsasser Cc: Sasha Levin , Matteo Croce , stable@vger.kernel.org, netdev , LKML , David Miller Subject: Re: net: check before dereferencing netdev_ops during busy poll Message-ID: <20190629074553.GA28708@kroah.com> References: <20190628225533.GJ11506@sasha-vm> <1560226F-F2C0-440D-9C58-D664DE3C7322@appneta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560226F-F2C0-440D-9C58-D664DE3C7322@appneta.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 28, 2019 at 07:03:01PM -0700, Josh Elsasser wrote: > On Jun 28, 2019, at 3:55 PM, Sasha Levin wrote: > > > What's the upstream commit id? > > The commit wasn't needed upstream, as I only sent the original patch after > 79e7fff47b7b ("net: remove support for per driver ndo_busy_poll()") had > made the fix unnecessary in Linus' tree. > > May've gotten lost in the shuffle due to my poor Fixes tags. The patch in > question applied only on top of the 4.9 stable release at the time, but the > actual NPE had been around in some form since 3.11 / 0602129286705 ("net: add > low latency socket poll"). Ok, can people then resend this and be very explicit as to why this is needed only in a stable kernel tree and get reviews from people agreeing that this really is the correct fix? thanks, greg k-h