Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B28A408C8 for ; Sat, 10 Jun 2023 06:44:08 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-51b4ef5378bso1442476a12.1 for ; Fri, 09 Jun 2023 23:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686379447; x=1688971447; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9028RCYhy0wUCoYOed6ZfhpUYbRnkrP1YsKrCE12Bj8=; b=ovR/GYdBQyiemHONPmM5TJdwY8+SHiZ/Q7msRoBEkXXtGY8i+EGoMk4rnoJE9CHf80 HwVCL1QsLSNTxp+5ayaQtILzC2vlGaK3pMU+Ee+sGBAmlO+n2f1yOe425sOTtxSwSEXM OiyQyPC2wQBvhRxDe026rOvfSVyhkX/37GC3xjrNGsITRhG+9ryNT6pUkbsq/XDQJNzH eIw8YiVnbriz1ZWB8YBbBWOKUq/uad09R3VsIYu8551GKJfrsDCKdT4hOsYafODdrXTK jdTQSGqLw3pZlTaaaFGrb2ImveCf9jdM4Q48n+hJSZt50Rm8nFIq4gfrjgKdIcaZWCxz xOqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686379447; x=1688971447; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9028RCYhy0wUCoYOed6ZfhpUYbRnkrP1YsKrCE12Bj8=; b=UYeY/4tlFBU6lQ1VCcoF8zDrYua26lE94jTKlA8yRltAAqOAQ/veJLrUvZzKdiMSJk r65x1PYIlbfcqefGHGzVaFUHG2Y0XLMkXB93E+FlBeJ7vepERKn6B89zSVkyWRp/Aapv yCQLycZ8gWIf7/hQ1ejfmBTxywIZwbUwcDahirDtz6Whi5oUscBpXgEXuK8bkFxyTyV9 ET5UAPJ4CqnfB9UgdoORvkQiNE0tu3twOr2pcK02SexXmGocfbyKldYAXF0COgzSU/zt +znscQQ3KJSe6OfBN7HMpThg+tw5RoXXy1bSrdcIPh79mK+5Rm/288GrggDGLK56zw2J +M7A== X-Gm-Message-State: AC+VfDyHM49qnohAXCS4uSt804n0RcW897aFSI2Ir+FbXluzc6gGhfu/ LObPBaJ3sxRpiaEidIHKdfM= X-Google-Smtp-Source: ACHHUZ4vYhETxEs/w9/FVf1Gl+uDCEWXTwPOi3yFwtPwNyS09TWtQGWr/VaLzt1ERAsJo82k+Md6mQ== X-Received: by 2002:a05:6a21:30ca:b0:10e:e813:46ed with SMTP id yf10-20020a056a2130ca00b0010ee81346edmr3081409pzb.43.1686379447522; Fri, 09 Jun 2023 23:44:07 -0700 (PDT) Received: from debian.me (subs28-116-206-12-58.three.co.id. [116.206.12.58]) by smtp.gmail.com with ESMTPSA id c16-20020aa781d0000000b0063f0068cf6csm3550562pfn.198.2023.06.09.23.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 23:44:07 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id DBDBC106AB1; Sat, 10 Jun 2023 13:44:03 +0700 (WIB) Date: Sat, 10 Jun 2023 13:44:03 +0700 From: Bagas Sanjaya To: Nicolas Escande , nbd@nbd.name, Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , Kalle Valo , Johannes Berg Cc: linux-wireless@vger.kernel.org, Linux Regressions Subject: Re: [regression] STP on 80211s is broken in 6.4-rc4 Message-ID: References: Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AnK2bowbY2wzP825" Content-Disposition: inline In-Reply-To: --AnK2bowbY2wzP825 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 06, 2023 at 12:55:57PM +0200, Nicolas Escande wrote: > Hello Felix, >=20 > As user of the mesh part of mac80211 on multiple products at work let me = say > thank you for all the work you do on wifi, especially on 80211s, and espe= cially > the recent improvements you made for mesh fast RX/TX & cross vendor AMSDU= compat >=20 > We upgraded our kernel from an older (5.15) to a newer 6.4. The problem i= s STP=20 > doesn't work anymore and alas we use it for now (for the better or worse). >=20 > What I gathered so far from my setup: > - we use ath9k & ath10k > - in my case STP frames are received as regular packet and not as amsdu > - the received packets have a wrong length of 44 in tcpdump > (instead of 38 with our previous kernel) > - llc_fixup_skb() tries to pull some 41 bytes out of a 35 bytes packet > this makes llc_rcv() discard the frames & breaks STP >=20 > >From bisecting the culprit seems to be 986e43b19ae9176093da35e0a844e65c8= bf9ede7 > (wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces) >=20 > I guess that your changes to handle both ampdu subframes & normal frames = in the > same datapath ends up putting a wrong skb->len for STP (multicast) frames= ? > Honestly I don't understand enough of the 80211 internals & spec to pinpo= int the > exact problem. >=20 > It seems this change was already in the 6.3 kernel so I guess someone sho= uld > have seen it before (but I didn't find anything..) ? Maybe I missed somet= hing... >=20 > Anyway I'm happy to provide more info or try anything you throw at me. >=20 Thanks for the regression report. I'm adding it to regzbot: (Felix: it looks like this regression is introcued by a commit authored by = you. Would you like to take a look on it?) #regzbot ^introduced: 986e43b19ae917 --=20 An old man doll... just what I always wanted! - Clara --AnK2bowbY2wzP825 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZIQbrwAKCRD2uYlJVVFO o6mfAPwKDa60GgI6OLmQE2Azp1jDptNJ1AD+/oDHNObrFjqZCAEAm+tAyXvMCHPG aE8UayLKE+V/ziT/lC2I6IDiS4+f6Qs= =Wcw6 -----END PGP SIGNATURE----- --AnK2bowbY2wzP825--