From: David Miller Subject: Re: [PATCH net,v2] hv_netvsc: Fix napi reschedule while receive completion is busy Date: Thu, 19 Jul 2018 07:24:23 +0900 (KST) Message-ID: <20180719.072423.733195459839902101.davem@davemloft.net> References: <20180717171113.6390-1-haiyangz@linuxonhyperv.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, kys@microsoft.com, sthemmin@microsoft.com, olaf@aepfle.de, vkuznets@redhat.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, stephen@networkplumber.org To: haiyangz@microsoft.com, haiyangz@linuxonhyperv.com Return-path: In-Reply-To: <20180717171113.6390-1-haiyangz@linuxonhyperv.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Haiyang Zhang Date: Tue, 17 Jul 2018 17:11:13 +0000 > From: Haiyang Zhang > > If out ring is full temporarily and receive completion cannot go out, > we may still need to reschedule napi if certain conditions are met. > Otherwise the napi poll might be stopped forever, and cause network > disconnect. > > Fixes: 7426b1a51803 ("netvsc: optimize receive completions") > Signed-off-by: Stephen Hemminger > Signed-off-by: Haiyang Zhang Applied and queued up for -stable.