Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03E053DE456 for ; Wed, 5 Aug 2026 09:47:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785923273; cv=none; b=TeKOOB/xSkRrYIk4Ber8kU80OIba7PUgq27jSSPC09JyxFLyPXFWkEGuAteeAFfMhewV0+/2EHDvJx/ckpGdX9tBXN54tgsrWQISmYojkl9IwSzvmcEnEj8WxNMVp1tmsbjbPHJ6Q2LzWi43a1mAdrqzDH+fIBEofxJbbQeMSEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785923273; c=relaxed/simple; bh=UCCI0FIT5bkDpmkMDqEYR7D03T7KTnLxgIKna8gd+MU=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=uHuhtj75lrzmteLFsxvp52Y3pXbQkLtQ1NPrIKWt1FbSXGAHbaMQe+9J8Aq4BVRZDQAcwPnNg3wrX4iubn3n7x0osUCo0r/qrS4F/i9cURpJfy9EsP5E565DZuYcXBnk0BEfHTuXwBx/6lH53u73iiwJAlMqyDrD3NQ50Ecqug8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TBoXAbLE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TBoXAbLE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E6741F000E9; Wed, 5 Aug 2026 09:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785923271; bh=XKKYnIZF8pEHr5xaTLw4bxNxQInq+5BMasQovTi9cS8=; h=Subject:To:Cc:From:Date; b=TBoXAbLEL/KvBCnF1uoQ2LhoYzSun2IC9J4i40Em+tBNTVvYfrC1/jZZ4deIs2BKJ xDksblt4CWwWQRwYEvf65hkIwqol50PifRTYPJTlF+qlfLU2MB4T01dWXg3nwqJBt9 IJqNLBPKTQu2d4FOmkvxnGF7SSQj6Z2loZjn6OVY= Subject: FAILED: patch "[PATCH] igc: remove napi_synchronize() in igc_down()" failed to apply to 5.15-stable tree To: devnexen@gmail.com,anthony.l.nguyen@intel.com,dima.ruinskiy@intel.com,maciej.fijalkowski@intel.com,moriyax.kadosh@intel.com Cc: From: Date: Wed, 05 Aug 2026 11:47:22 +0200 Message-ID: <2026080522-spinster-tricking-40ab@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 5ffab5b9589c50e4cfc0cf36ffd76c89422d4019 # git commit -s git send-email --to '' --in-reply-to '2026080522-spinster-tricking-40ab@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 5ffab5b9589c50e4cfc0cf36ffd76c89422d4019 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 12 Jul 2026 14:22:42 +0100 Subject: [PATCH] igc: remove napi_synchronize() in igc_down() When an AF_XDP zero-copy application is killed abruptly, the XSK pool is torn down but NAPI keeps polling. igc_clean_rx_irq_zc() then returns the full budget on every poll, so napi_complete_done() never clears NAPI_STATE_SCHED. igc_down() calls napi_synchronize() before napi_disable(), so it spins forever waiting for that bit and the interface never goes down. Drop the napi_synchronize() and let napi_disable() do the job -- it sets NAPI_STATE_DISABLE, which forces the stuck poll to complete. Reorder it ahead of igc_set_queue_napi() so the NAPI mapping is cleared only after polling has stopped, matching the recent igb fix b1e067240379. Fixes: fc9df2a0b520 ("igc: Enable RX via AF_XDP zero-copy") Suggested-by: Maciej Fijalkowski Cc: stable@vger.kernel.org Signed-off-by: David Carlier Reviewed-by: Maciej Fijalkowski Reviewed-by: Dima Ruinskiy Tested-by: Moriya Kadosh Signed-off-by: Tony Nguyen diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c index 2c9e2dfd8499..b3883a5a7d7a 100644 --- a/drivers/net/ethernet/intel/igc/igc_main.c +++ b/drivers/net/ethernet/intel/igc/igc_main.c @@ -5352,9 +5352,8 @@ void igc_down(struct igc_adapter *adapter) for (i = 0; i < adapter->num_q_vectors; i++) { if (adapter->q_vector[i]) { - napi_synchronize(&adapter->q_vector[i]->napi); - igc_set_queue_napi(adapter, i, NULL); napi_disable(&adapter->q_vector[i]->napi); + igc_set_queue_napi(adapter, i, NULL); } }