Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1849778rwl; Thu, 30 Mar 2023 02:17:58 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGIbmRj4hFgHbq0fwvkFLODuqOAZqo/JJWpvCEGxpDARA1/Vjcq3c8giDFMU9Jgr3Bgdg1 X-Received: by 2002:aa7:c906:0:b0:4fd:2aac:d480 with SMTP id b6-20020aa7c906000000b004fd2aacd480mr25594679edt.21.1680167878170; Thu, 30 Mar 2023 02:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680167878; cv=none; d=google.com; s=arc-20160816; b=Ii2UVMfbF5NXzzIgIjqPK2xwSJSPzIb2D2n4QlI3IB49UZ5SUqzrM3wDLrVtiZYI9i Ac05Z4UEpcnV0k3eToGJ2YxC9cussV/7ULodlL5Y8+sgGFDXdoDu53jsd49A3gRlvbHw xBClKgPQ5zlcWPzO6Xzu/n9iSrAUccP9lU2CXnnBUa/D+E9faw0PxMYB2GqGcMfQiWx4 Uix+ig7vRYmAA5UW5vvylkOmCQMn4ML/6/LP3b3nk5iAKiPdlRLzktpYv4vvNxRxUfv7 sgC5oA2O2wD//mGZYsbfHsIvCyiJrqZVFF+NhCx1NxfqtVF/DBUlxhhXkorTNvqs9Xoq rhXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+ugixZ+XkTxTts9N5EMc/TLOjDm371nmVYbvX6WXngU=; b=aaTK4qF0tmFdrANDgPSP/uYEA3lWdGFewm5xxCMmTLBNzKUyr1awt3+YJ+rAbyquJG jW0GdyWIXu7EX1URYpKXNhFoKFe88KvFBqU0BJ+AjK80e9zD0jc5S/coE246ROuUzdUB saq2L50B1D/qM6XV3hXOxbyvXq1sul7EqNimSLlxure0PtBElOphqhaRxw+j8sUiLSTj G2N9J3Njtnvu9YRGQwo+S1XKKogtjbCyCxJkMBa9SnTLTo+JB2ooXGp4XojbQxRZcuwG oFmtz1EqppDcIgJy5aauWmeS+7tMlDB7ZZf2TRPxvHa+X3JNAvlvgYYOHOURnhjJoQD9 y4PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=tgz+mdgI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020aa7d4da000000b004acb712d32csi810560edr.233.2023.03.30.02.17.42; Thu, 30 Mar 2023 02:17:58 -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=fail header.i=@nbd.name header.s=20160729 header.b=tgz+mdgI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230194AbjC3JAU (ORCPT + 59 others); Thu, 30 Mar 2023 05:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230445AbjC3JAH (ORCPT ); Thu, 30 Mar 2023 05:00:07 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48A217AAD; Thu, 30 Mar 2023 02:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+ugixZ+XkTxTts9N5EMc/TLOjDm371nmVYbvX6WXngU=; b=tgz+mdgIsXdvtU+Q1LbH3Vxbq6 nC/m5JeiJYf4Jgy6qxBg8ZXAHgu+uschcXXx/h3/2ukaGkQp51aV09xvTf5bbf6HUbkSPiI+CqMgp Sv9p4YnqXLzIipHp/YtWTRuUeNXO1WkdqhdaZly93Rl8D+mom2bbdjSGT9qZ/wrzcdsc=; Received: from p54ae9730.dip0.t-ipconnect.de ([84.174.151.48] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from ) id 1pho8Y-008U3j-5R; Thu, 30 Mar 2023 11:00:02 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net, stable@vger.kernel.org Subject: [PATCH wireless 1/2] wifi: mac80211: drop bogus static keywords in A-MSDU rx Date: Thu, 30 Mar 2023 11:00:00 +0200 Message-Id: <20230330090001.60750-1-nbd@nbd.name> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 These were unintentional copy&paste mistakes. Cc: stable@vger.kernel.org Fixes: 986e43b19ae9 ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces") Signed-off-by: Felix Fietkau --- net/mac80211/rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 7e270eaeef72..b7b584a28163 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -2899,7 +2899,7 @@ __ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx, u8 data_offset) struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; __le16 fc = hdr->frame_control; struct sk_buff_head frame_list; - static ieee80211_rx_result res; + ieee80211_rx_result res; struct ethhdr ethhdr; const u8 *check_da = ethhdr.h_dest, *check_sa = ethhdr.h_source; @@ -3040,7 +3040,7 @@ ieee80211_rx_h_data(struct ieee80211_rx_data *rx) struct net_device *dev = sdata->dev; struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; __le16 fc = hdr->frame_control; - static ieee80211_rx_result res; + ieee80211_rx_result res; bool port_control; int err; -- 2.39.0