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 2F36840BCA4 for ; Wed, 5 Aug 2026 09:47:49 +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=1785923270; cv=none; b=Mq4vjTuigUmPZSAWh07HzTyARGBOBjN8Sqg8HYRrX1vFovRCB+n9tMnvnEj0hWteq1mPVd8GxPXT+DgVMryS6sO1CcQP6hfzQpicFZTTg65xGYbSohdFfetkbL3HUsv42yN4hXwpv/3fc+NUhEtkm1r51H11na+pWFaiiSVEAWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785923270; c=relaxed/simple; bh=E9KHmz2vCRPvlP+549FldcOswGOT3HlGi7Aqn78+UBg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=ZQw+n/EciJlLbuW4e8lyvZZKziCzmLYw2o7nTP9cZRcMr301P89s2F5Ix8nPypCYqllf3LjQZGAJbpwuO+bI+RwHEZgSR/TYqrpYxVtw+YvQSbPqPnW9XK/noMmHZCoDHn7VXlEAUnIZMbewM9M38/jOdOwKqgOvSDgf+xVOiTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D6zju7oy; 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="D6zju7oy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A1171F000E9; Wed, 5 Aug 2026 09:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785923269; bh=VxfZx4YQnP/jlBgQ2r23gjtWAiwS6oBrx7DWdouCH94=; h=Subject:To:Cc:From:Date; b=D6zju7oyeAhwkS5zDEkoaKApW+YlrB+uLrZWemOfjp/BC+9RZuGQX2RosBzvTzeLP aybtc8wkIn+EmRW2ZXabEuj7ocSVt9AIgfjt1AhHvq6QI5sdfvEMygA9vROf9Vfmfv Sz0jGc9ZnWORohXzVKgEmycW0SB/hH8xjREIJmhA= Subject: FAILED: patch "[PATCH] igc: remove napi_synchronize() in igc_down()" failed to apply to 6.1-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:21 +0200 Message-ID: <2026080521-trapping-implosion-5850@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 6.1-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-6.1.y git checkout FETCH_HEAD git cherry-pick -x 5ffab5b9589c50e4cfc0cf36ffd76c89422d4019 # git commit -s git send-email --to '' --in-reply-to '2026080521-trapping-implosion-5850@gregkh' --subject-prefix 'PATCH 6.1.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); } }