Return-Path: 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 D05D3C433F5 for ; Mon, 22 Nov 2021 16:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231787AbhKVQEC (ORCPT ); Mon, 22 Nov 2021 11:04:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbhKVQEB (ORCPT ); Mon, 22 Nov 2021 11:04:01 -0500 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48DB9C061574 for ; Mon, 22 Nov 2021 08:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uXbufNDZ0pwEfKYFF6Q0fDxZoZYRcP1TVmZLW9EfnrQ=; b=gX3u5q07732M4he9dO4p37f1n8 asQX2OGj3VZM+CD38wgTVRiSL/C0wszl/H004ul+/X3SQ2YrmfBV9TqPbLOYH7ZAJshvLPzHfDAzF LJhLsGVSeySiqZvHBhOb4HGfLeykHI3kvnqMPxF7VwWZO11tGDHttgmOI1Y03+TPFa00=; Received: from p54ae9f3f.dip0.t-ipconnect.de ([84.174.159.63] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mpBkO-0000aO-W3; Mon, 22 Nov 2021 17:00:49 +0100 Message-ID: <5acfea49-675b-c825-4bb4-29108d6095eb@nbd.name> Date: Mon, 22 Nov 2021 17:00:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH] mt76: fix timestamp check in tx_status Content-Language: en-US To: Deren Wu , Lorenzo Bianconi Cc: Sean Wang , Soul Huang , YN Chen , Leon Yen , Eric-SY Chang , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Eric Liang , Stella Chang , Evelyn Tsai , Ryder Lee , Shayne Chen , linux-wireless , linux-mediatek , Kalle Valo References: <7e3784949c0b29a00465966b89fdb0192bd0298e.1637593492.git.deren.wu@mediatek.com> From: Felix Fietkau In-Reply-To: <7e3784949c0b29a00465966b89fdb0192bd0298e.1637593492.git.deren.wu@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-11-22 16:10, Deren Wu wrote: > From: Deren Wu > > Should keep SKBs only if timeout timestamp is still after jiffies. > Otherwise, report tx status and drop it direclty. > > Fixes: bd1e3e7b693c ("mt76: introduce packet_id idr") > Signed-off-by: Deren Wu Acked-by: Felix Fietkau Kalle, please queue this for 5.16 - Felix