Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1057109rwd; Thu, 15 Jun 2023 05:58:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EysbYk7BUMQRTyegtOKwB6GGxBHUVZeFZPALyj7HRsaB+ek7wyMjvdMJw8/wE1j8nTjwu X-Received: by 2002:a17:907:9805:b0:94a:4e86:31bc with SMTP id ji5-20020a170907980500b0094a4e8631bcmr4635083ejc.13.1686833891165; Thu, 15 Jun 2023 05:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686833891; cv=none; d=google.com; s=arc-20160816; b=cVzRgD0mb+hjckF+Mc4tgZjigIrT1T7fGGIpU8wmEfmLQXDWoZz9Csan+3EKyUlrre ZTw7DoXW+2nkBoaBRooy24JbiUNYZBCCiK6ycXwdbediICfan3awmRmOVJhz9YMC1YXQ FD4ay697uD0C6lVFl2OW3DNJ5q0db1yty7rY0B4DGZhD8C2dUb/oxUt/Ahr/JQI/K9Qt Y2iLiRwuRwhU4jNhP5HY91P/3atmBIRX0rqdBrosW/3QYwDYeNi7GrHpHnz1ZzoT6KBp jm76dyHlRyLg2ceGcjY5ckAWSnIwSHFShjMDDROgrz0QAObxm0Ow2VRA11SiSrXsZcr4 /Hrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=gsLGUkUXPOJcLL8/ecHAHI6p8ftt3lWoeqOGkyktOOw=; b=lXZeIRt9XRV+0pfl9KIz8BuByBmXmKGu2MEquWEseLHiUOn7JB541CDVwp9nWoLKNH m0wtN1gQazm7zWFXkeFLbg7U9V2JjiFvnHWOsB8rGsBM5qGAiWqKeCqd5wRQRMjTtOEO bSe0d+SsxNLC+sycV1y5TWqjM5jcscrMzZdC+zQkc+bVRjTQgFTqx+C2hrY803ZLHU86 95LgQF2+Atf3ydX/XzTSVmYjKINqhE559yT9M0w8CKBiNq+MPMj3DVBnODRjjIQU0u77 ov5lK8cmeAoYLppEkqft8eXejTscN4bXR6QzQrAQYOQe+Dnbtm8L+APSius3UOk8qgea VnYA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a50e603000000b005186d996d0bsi4233505edm.376.2023.06.15.05.57.54; Thu, 15 Jun 2023 05:58:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbjFOM4p (ORCPT + 62 others); Thu, 15 Jun 2023 08:56:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343650AbjFOMy6 (ORCPT ); Thu, 15 Jun 2023 08:54:58 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0488D26A1 for ; Thu, 15 Jun 2023 05:54:51 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1q9mUy-0007NP-Fd; Thu, 15 Jun 2023 14:54:48 +0200 Message-ID: Date: Thu, 15 Jun 2023 14:54:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [regression] STP on 80211s is broken in 6.4-rc4 Content-Language: en-US, de-DE To: Bagas Sanjaya , Nicolas Escande , nbd@nbd.name, =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Kalle Valo , Johannes Berg Cc: linux-wireless@vger.kernel.org, Linux Regressions References: From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1686833692;00721cc6; X-HE-SMSGID: 1q9mUy-0007NP-Fd X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 10.06.23 08:44, Bagas Sanjaya wrote: > On Tue, Jun 06, 2023 at 12:55:57PM +0200, Nicolas Escande wrote: >> Hello Felix, >> >> 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 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 problem is STP >> doesn't work anymore and alas we use it for now (for the better or worse). >> >> 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 >> >> >From bisecting the culprit seems to be 986e43b19ae9176093da35e0a844e65c8bf9ede7 >> (wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces) >> >> 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 pinpoint the >> exact problem. >> >> It seems this change was already in the 6.3 kernel so I guess someone 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 me. >> > > 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 Hmmm, Felix did not reply. But let's ignore that for now. Nicolas, I noticed there are a few patches in next that refer to the culprit. Might be worth giving this series a try: https://lore.kernel.org/all/20230314095956.62085-1-nbd@nbd.name/ 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.