Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35613099rwd; Mon, 10 Jul 2023 09:51:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFuJ2ly4iZcVpAhwU2OZkiwu1TgINJ+ZjNJafS2Q8DHEGHQU6MSII0ER7dpnD9XNx/UnxsT X-Received: by 2002:aa7:c654:0:b0:51e:1af0:3a90 with SMTP id z20-20020aa7c654000000b0051e1af03a90mr12209291edr.37.1689007910371; Mon, 10 Jul 2023 09:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689007910; cv=none; d=google.com; s=arc-20160816; b=V8VaGzfNzYmt7unB0h09bV/3JkS2ESa+Vn/hbedOWCycZ/Be4InOjycAOD2s3UeKQi 5bHXcGwckYD54ZcLre/QnjrKG2mg03Ru0ohQZzW7SLrrHB8Pk+cqPfOvlzegZ5wtzfTE mDGhujkTFKO4rj4/vml/ViQBgBUe7qjdwJa6igiL8jwoiJK/v4iC48l0D/kD/NtxPesQ Kkynk2MT3W+aka/C3RrwNJJ0ldlgu1BPok5UnZIE4U1KZup4WwSubjqQ5dg/QHsLsdiL TLA8s03nSM1Oq52KfOa9FubnzEFeQqhV9VbpVZyvXHExFMhZXHfUTMPyr8UsoQAmxAV+ q56A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:message-id:to:from :subject:cc:date:content-transfer-encoding:mime-version :dkim-signature; bh=MY+TyIudZCiZOFG2r90LBXniZOQ3ZD0PRf6V3zd0L3w=; fh=pqvuhpxybpb/AH3fworYwWa50bRpmRN5z6wTanAb5Sw=; b=b1oFZYqnuAni5cmj/T952sdYm3fVRshapBhkTz7co4mldJr4cKSMYzp8eaCR7mXLW9 OtYOexQjCpWuctbW7pC5zrBrc97Ug3cjh7CZrgoL4r8y/PMWKttKy2tbG4+fhOaVqK4x WuaWrewT8PN6DqnnxJv63cl0F7VuYo9qsa22bqUsk6SVaxTpkwyBYxgep0EKjmS2nSwa VWkpnuSCKH5rxaW/m+fmiAitXMGcOJq3Au/zCQvDEemVPLVAGKuXldP2qWsUXsOP/zKb nQwWqpuvkUIljvXjAFmJ2ZyBv0R0UaWIeeHcgIJokduahtxwm6mWJN4dgucKFZt47pzz /Y6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="oegLEW/x"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d25-20020aa7ce19000000b0051d91303c5fsi10884475edv.677.2023.07.10.09.51.32; Mon, 10 Jul 2023 09:51:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="oegLEW/x"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbjGJQub (ORCPT + 61 others); Mon, 10 Jul 2023 12:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbjGJQua (ORCPT ); Mon, 10 Jul 2023 12:50:30 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E61AFE3 for ; Mon, 10 Jul 2023 09:50:28 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbc0609cd6so47910175e9.1 for ; Mon, 10 Jul 2023 09:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689007827; x=1691599827; h=in-reply-to:references:message-id:to:from:subject:cc:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MY+TyIudZCiZOFG2r90LBXniZOQ3ZD0PRf6V3zd0L3w=; b=oegLEW/xnJMUooitotWowEO74EBik6GwF+HLHwDCrnMlR+j5+9jY2gMnvdZKoVdZGF 8djoLzQiXaBgDRoyHz1Jkb3ZqaAGT/QqmwynW4NLrVHYu2V/YXCX89S3Ir9fNRhcnGQf 3MvzREBAx1JVaMeEQfRhnEqmg9PnZYbvObUrnJ5Gd5FyYiI6WGDc9PAhKSsphOA0MtCz y8TNYqCkC3EouWJyIAZx6ZGv7AyAnEd6SrZWnNAF6CeeulkQfzNS6oJMGeEXnm95s/2e vwVJceOx+VFFJYFEC+FeG2ykGcVnxiGhKuEZpU7od3TEkD9aGxX0gWZvVR/Ftw7wv6QC jD6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689007827; x=1691599827; h=in-reply-to:references:message-id:to:from:subject:cc:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=MY+TyIudZCiZOFG2r90LBXniZOQ3ZD0PRf6V3zd0L3w=; b=MolJ0IrUz761TPG1OvZkWqM/CaQMsQEYHGz8XeyZsbnHs3P7p6k8b1LmgR9+OwS60R uOOKuMtZhiROQOiaTTSqxjgK1mDkDFswcJgTshPjIDDzc01nsyJW9ovBYzB3s4idhXHE J+gYHOzAJzuB8A7IG+wtnSTcxIjCb+KvGQSJOsPHnXFWtF8iQkF2jeJbus8YVX7/fIaz pPL1VNKPkcsTIzcDj1NrX3bdyG6L6GEWvPiJhxrVXFebzLK451by0FhiLL8LI7P7kDws xAUM6tOgT8ynCfUwHFgGCzyrsCrcwtKKRfutvJwXtGoee+Vu7aZl3OeBAFEnvFvyGoFY Lc9Q== X-Gm-Message-State: ABy/qLa4t4YEHN/RFR8d/L7Wxv/B2zUGsrlOS/cntTzq22U5bdVCsOwE CukDi1YejR549t0jhDFmpwY= X-Received: by 2002:a7b:c389:0:b0:3fc:9e:eead with SMTP id s9-20020a7bc389000000b003fc009eeeadmr8389566wmj.20.1689007827077; Mon, 10 Jul 2023 09:50:27 -0700 (PDT) Received: from localhost (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id n12-20020adfe78c000000b00314367cf43asm12191950wrm.106.2023.07.10.09.50.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 09:50:26 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 10 Jul 2023 18:50:26 +0200 Cc: Subject: Re: [regression] STP on 80211s is broken in 6.4-rc4 From: "Nicolas Escande" To: "Linux regressions mailing list" , "Bagas Sanjaya" , , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , "Kalle Valo" , "Johannes Berg" Message-Id: X-Mailer: aerc 0.15.1 References: <809500b6-4eec-7a5e-5930-00e7eeebcc5e@leemhuis.info> In-Reply-To: <809500b6-4eec-7a5e-5930-00e7eeebcc5e@leemhuis.info> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon Jul 10, 2023 at 1:32 PM CEST, Linux regression tracking (Thorsten Le= emhuis) wrote: > On 16.06.23 09:45, Nicolas Escande wrote: > > On Thu Jun 15, 2023 at 2:54 PM CEST, Linux regression tracking (Thorste= n Leemhuis) wrote: > >> On 10.06.23 08:44, Bagas Sanjaya wrote: > >>> On Tue, Jun 06, 2023 at 12:55:57PM +0200, Nicolas Escande wrote: > >>>> > >>>> As user of the mesh part of mac80211 on multiple products at work le= t me say > >>>> thank you for all the work you do on wifi, especially on 80211s, and= especially > >>>> the recent improvements you made for mesh fast RX/TX & cross vendor = AMSDU compat > >>>> > >>>> We upgraded our kernel from an older (5.15) to a newer 6.4. The prob= lem is STP=20 > >>>> doesn't work anymore and alas we use it for now (for the better or w= orse). > >>>> > >>>> 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 a= msdu > >>>> - 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 pac= ket > >>>> this makes llc_rcv() discard the frames & breaks STP > >>>> > >>>> >From bisecting the culprit seems to be 986e43b19ae9176093da35e0a844= e65c8bf9ede7 > >>>> (wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces) > >>>> > >>>> I guess that your changes to handle both ampdu subframes & normal fr= ames in the > >>>> same datapath ends up putting a wrong skb->len for STP (multicast) f= rames ? > >>>> Honestly I don't understand enough of the 80211 internals & spec to = pinpoint the > >>>> exact problem. > >>>> > >>>> It seems this change was already in the 6.3 kernel so I guess someon= e should > >>>> have seen it before (but I didn't find anything..) ? Maybe I missed = something... > >>>> > >>>> Anyway I'm happy to provide more info or try anything you throw at m= e. > >> [...] > >> Hmmm, Felix did not reply. But let's ignore that for now. > >=20 > > I haven't seen mails from felix on the list for a few days, I'm guessin= g he's > > unavailable for now but I'll hapilly wait. > > Still no progress. Hmmm. Are you still okay with that? I've seen no > other reports about this, so waiting is somewhat (albeit not completely) > fine for me if it is for you. I'm not so surprised no one else reported it, using STP on wifi (and 802.11= s) is not a really common thing to do, to be honest (and STP on wifi is unreliabl= e). Even though some openwrt guys do it for sure, I'm guessing their kernel ver= sion is lagging behind... > > But in any case it might be good if you could recheck 6.5-rc1. Testing on 6.5 as a whole won't be as easy for me as testing a single patch= on top of 6.4. I'll do my best to try but from what I saw nothing got merged t= hat would even remotely help me on this issue.=20 I am not loosing hope that Felix or someone that understands this stuff bet= ter finds the time to look into this. I'm guessing it's the summer vacation eff= et. > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > If I did something stupid, please tell me, as explained on that page.