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 EA699C433EF for ; Fri, 26 Nov 2021 15:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352065AbhKZQDD (ORCPT ); Fri, 26 Nov 2021 11:03:03 -0500 Received: from so254-9.mailgun.net ([198.61.254.9]:58959 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353766AbhKZQBC (ORCPT ); Fri, 26 Nov 2021 11:01:02 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1637942269; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=r+qYPoR13LwCjweCQwS1+tndHdiPSZhpujC2cThFxw8=; b=XZREac4J7awc+wybFgseFleCF/buMUaprCXborYXQbDNoEB7ZNbk9/+34CSr4CUxsfcvYyIX jLJ/Uy8/sLBSdcFqnfW4tGNEWUpxGA0MgHq4+HoR9mmaIyoW0LneilmujiBhuEJqPyMxkLB6 Mi6V27LRlFsyPCmWfXHcvW3vfCI= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 61a103fc1abc6f02d0afbc80 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 26 Nov 2021 15:57:48 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D4CD7C4360C; Fri, 26 Nov 2021 15:57:48 +0000 (UTC) Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id A2C75C4338F; Fri, 26 Nov 2021 15:57:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org A2C75C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Lorenzo Bianconi Cc: nbd@nbd.name, linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, ryder.lee@mediatek.com Subject: Re: [PATCH wireless-drivers] mt76: fix possible pktid leak References: <163777451567.4686.3609119971518562275.kvalo@codeaurora.org> <87fsrj3qxo.fsf@codeaurora.org> Date: Fri, 26 Nov 2021 17:57:42 +0200 In-Reply-To: (Lorenzo Bianconi's message of "Fri, 26 Nov 2021 16:26:13 +0100") Message-ID: <87sfvij4eh.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Lorenzo Bianconi writes: >> Lorenzo Bianconi writes: >> >> >> Lorenzo Bianconi wrote: >> >> >> >> > Fix a possible idr pkt-id leak if the packet is dropped on tx side >> >> > >> >> > Fixes: bd1e3e7b693c ("mt76: introduce packet_id idr") >> >> > Signed-off-by: Lorenzo Bianconi >> >> > Acked-by: Felix Fietkau >> >> >> >> Patch applied to wireless-drivers.git, thanks. >> >> >> >> 2a9e9857473b mt76: fix possible pktid leak >> > >> > Hi Kalle, >> > >> > Unfortunately I found a regression introduced by this patch for mt7663u (and I >> > guess for mt7921s as well). Do you want me to post a fix or just a v2? >> >> I don't rebase my trees, so please post a fix. I was planning to submit >> a pull request to net tree today, but is this so serious that I should >> skip that? > > I have already tested mt7663u but I do not have mt7921s hw for testing (but the > behaviour should be the same). I guess we can split the patch, just post the > fix for mt7663u and let Sean the time to test it on mt7921s (I am not sure > mt7921s is already available on the market). In this way you can send the PR > today. What do you think? I think it's best to wait, I prefer to have proper build testing on my tree before I submit the pull request. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches