Message ID | 20220204091916.058187207@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAB0CC433FE for <stable@archiver.kernel.org>; Fri, 4 Feb 2022 09:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348569AbiBDJZ3 (ORCPT <rfc822;stable@archiver.kernel.org>); Fri, 4 Feb 2022 04:25:29 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:43514 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357828AbiBDJYZ (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 4 Feb 2022 04:24:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 464B5615ED; Fri, 4 Feb 2022 09:24:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4304C004E1; Fri, 4 Feb 2022 09:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643966664; bh=QrZLry4insApv+gQ37l7e+SnTkVoC6w8ESMnHsJwm00=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=leWrqfyurPvLyz4wkpZD2YlBEsX9bdW7dtCAHhZuWz415VcOYfHDwsGv4bPXKnzig Pv+DsJL/O93ClNoyQ8PZMxq63ieLlEZSBuVvki1pGqwEuDSgy9S6+ctR9c52/gsQni xdCPqxzXUIhFQ2Zdfc8p/XsYbYYVg3igBCmF4Rak= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Sudheesh Mavila <sudheesh.mavila@amd.com>, Raju Rangoju <Raju.Rangoju@amd.com>, Tom Lendacky <thomas.lendacky@amd.com>, Jakub Kicinski <kuba@kernel.org> Subject: [PATCH 5.15 24/32] net: amd-xgbe: ensure to reset the tx_timer_active flag Date: Fri, 4 Feb 2022 10:22:34 +0100 Message-Id: <20220204091916.058187207@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220204091915.247906930@linuxfoundation.org> References: <20220204091915.247906930@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c @@ -721,7 +721,9 @@ static void xgbe_stop_timers(struct xgbe if (!channel->tx_ring) break; + /* Deactivate the Tx timer */ del_timer_sync(&channel->tx_timer); + channel->tx_timer_active = 0; } }