Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3817577pxb; Mon, 8 Feb 2021 00:26:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOny2XIDHfnCDKAINrPg0gANt18r/cMoa600c118/6JQC8f0VrtR8MRtwIsHwHaKtTGXQy X-Received: by 2002:a17:906:fc5:: with SMTP id c5mr15316184ejk.538.1612772817508; Mon, 08 Feb 2021 00:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612772817; cv=none; d=google.com; s=arc-20160816; b=qKOQXPcM3/P6vUR3OQANh27CkXeYyABBvokitL85aEDUEIJ8bELvSPEDPqVscveYOz aFoGQhqSwBbQ1I58a0PksCaFnbeO41VkRNlpcYj+CSYsXPOjhJJjxDF7fhwvGvAnh2SY SDHB004OQWiYvPZxzRCg561ymJFSwuAfibFc1NSWStj4sENmen6uNjNvfCgp+uV3S+8p aZIeam5YofzZDMXe2hEojz6I+cVeJy+AMPDH8gxu17lYufzMoyY3URDL885PeWF4j//y PvNUPcAme9D/Hwfg5WXa/aOHqCN4zMvrSFPagyZj+LfjToJQM1aTteoGqdeGH5QV1xjM zLQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bJmRjsiSyDKB8EuLC2eCeYeypueQX53oW51yh6sXFfE=; b=y2TszLBHjBGzPKie3vDjwmQ/SvYhIZNft2i1NG8yewyaFosdulzyxfs/ZCvMoHNAAW rawYaYlj1LNykVBcEtEQYMsyCN413YEM2ODRial/aehewcToU37K16D9BuUzmFZbAx9g i3z8lOnL+4TtnkVFo8JiPPnYhfHGXafzgUK4/ocJNwUTZy1k9lJQN9QyRZMKvxCk4hoh KZ9KTM2goa76/liSVOlvKijTWuhqk5pJjsDDvuGp1r3lg0IpbPyhcmB5Eplg5Gsns2Lg w04LdA5VUEb2B2ThWxhgexRVeZoYGVOk7eQ3zJK8Lx2ztq5Z9QF1EL2KA00oAgC/2UbE Piag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eo7DmUfJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jt18si10930616ejb.633.2021.02.08.00.26.34; Mon, 08 Feb 2021 00:26:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eo7DmUfJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230074AbhBHI0D (ORCPT + 99 others); Mon, 8 Feb 2021 03:26:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:38368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbhBHI0B (ORCPT ); Mon, 8 Feb 2021 03:26:01 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7EBA064E88; Mon, 8 Feb 2021 08:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612772721; bh=bJmRjsiSyDKB8EuLC2eCeYeypueQX53oW51yh6sXFfE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Eo7DmUfJYUIx/SZDqO85IQ8IWNd49kBkK7OlfjwjhefEPxaZFbs7b4NUxIfvQTX7W Nz0rDg8EtzSKkjBBpcygoUIiQCgZDwJu97nu5fCjpBuIvhcVV1TkFp1O1pT5OmIjWQ XF6Q0qBWHGuZhlEoKv2eARPHm8aWIpAFIacyEdFjc6zOZfl9JxUMa8r3TS7Gm06ZdH zZtT0iDXVoyXeqcZuohqKkMenBo1ZjePXPLSEHqRthrun40myN1EFUojw330qPIXrZ a4fUfCTZrRsN6vp+kjWbJvw7vMBPgbeyiKK3nF2EXbWEaVYrw+5an20DWsL7eQwB9E Hn6fsnA0aR13g== Date: Mon, 8 Feb 2021 09:25:16 +0100 From: Lorenzo Bianconi To: Kalle Valo Cc: linux-wireless@vger.kernel.org, kuba@kernel.org, nbd@nbd.name, lorenzo.bianconi@redhat.com Subject: Re: [PATCH wireless-drivers] mt76: dma: do not report truncated frames to mac80211 Message-ID: <20210208082516.GB2593@lore-desk> References: <87mtwfkr6u.fsf@tynnyri.adurom.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <87mtwfkr6u.fsf@tynnyri.adurom.net> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Lorenzo Bianconi writes: >=20 > > If the fragment is discarded in mt76_add_fragment() since shared_info > > frag array is full, discard truncated frames and do not forward them to > > mac80211. > > > > Signed-off-by: Lorenzo Bianconi >=20 > Should there be a Fixes line? I can add it. I am not sure it needs a Fixes tag. If so you can use: 93a1d4791c10 ("mt76: dma: fix a possible memory leak in mt76_add_fragment()= ") Regsrds, Lorenzo >=20 > --=20 > https://patchwork.kernel.org/project/linux-wireless/list/ >=20 > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpa= tches --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCYCD1aQAKCRA6cBh0uS2t rM8zAQDgnHedizncT61cn2dTeG6ZRl7eHrBzm/e0MgRdPttdZQEAnjcGwGTWT/Qg +/yBT1AYYa+xGnKSj4MZs4QWDKw2pgA= =fo7h -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--