From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] cxgb4: do not call napi_hash_del() Date: Wed, 16 Nov 2016 17:07:08 -0500 (EST) Message-ID: <20161116.170708.2003021089286447218.davem@davemloft.net> References: <1479305942.8455.179.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, hariprasad@chelsio.com To: eric.dumazet@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:53728 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932943AbcKPWHK (ORCPT ); Wed, 16 Nov 2016 17:07:10 -0500 In-Reply-To: <1479305942.8455.179.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Wed, 16 Nov 2016 06:19:02 -0800 > From: Eric Dumazet > > Calling napi_hash_del() before netif_napi_del() is dangerous > if a synchronize_rcu() is not enforced before NAPI struct freeing. > > Lets leave this detail to core networking stack and feel > more comfortable. > > Signed-off-by: Eric Dumazet Applied.