From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH v3 net] net: solve a NAPI race Date: Mon, 27 Feb 2017 14:35:17 -0800 Message-ID: <1488234917.9415.217.camel@edumazet-glaptop3.roam.corp.google.com> References: <1488032577.9415.131.camel@edumazet-glaptop3.roam.corp.google.com> <1488166294.9415.172.camel@edumazet-glaptop3.roam.corp.google.com> <1488205298.9415.180.camel@edumazet-glaptop3.roam.corp.google.com> <1488226711.9415.204.camel@edumazet-glaptop3.roam.corp.google.com> <20170227141403.714490f7@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: David Miller , netdev To: Stephen Hemminger Return-path: Received: from mail-pg0-f67.google.com ([74.125.83.67]:35187 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751586AbdB0Wfk (ORCPT ); Mon, 27 Feb 2017 17:35:40 -0500 Received: by mail-pg0-f67.google.com with SMTP id 1so2349395pgz.2 for ; Mon, 27 Feb 2017 14:35:24 -0800 (PST) In-Reply-To: <20170227141403.714490f7@xeon-e3> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 2017-02-27 at 14:14 -0800, Stephen Hemminger wrote: > The original design (as Davem mentioned) was that IRQ's must be disabled > during device polling. If that was true, then the race above > would be impossible. I would love to see an alternative patch.