Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2002126rwi; Tue, 1 Nov 2022 02:34:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hsi1U4TM+L2JLil7ISqAtztchWWCDbLI+xCpv11bvP9pmkbGBvEF6AS0K3K0pWCBTgaF4 X-Received: by 2002:aa7:8607:0:b0:53b:13b5:2b6a with SMTP id p7-20020aa78607000000b0053b13b52b6amr18931116pfn.52.1667295286305; Tue, 01 Nov 2022 02:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667295286; cv=none; d=google.com; s=arc-20160816; b=MiKXz483VTo8MmjoA7YI5P87cXHX/D1sHX/G+p7dRFmU9YXB1TKoO23FQ5KlmPMekz ov6okOQ3Px0yAVwJc37PO4lFh0FxLt88cLOKTS/NbVVQ8gCYhT5N9Si7c3nCyC85S6oU ehS1jmQNsiUWV7VY1YZknhb9ekkmVohrYVGMYin1VBQc3lxcU6qH8U0Q0qSSctjWVcfp 8/SqHL++gnAFpoELcI66TD+IFQMMk6SpbOb9xFLmPGl8kRRcwGChzK/eDtP+zBFUvM1j VqRu9EON3Kn9UzD4wcHOqiqcGsFpb9AaaLYdA8HVl1o5vswFEV3SlobvepQlzQMuXbUS o9Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=c8vtnChk5twe9LHRTP2hRoxZNubWOCKxU90bymXuHyc=; b=M2MMKSVkuFaRL+IIO3//lF76hhpEYzaTPklw/NdtZGbdpq4wLHsrSobrOpJAMvNfRM 1+2/3StqJkdz0U5Sv4keMX/cCVg3iI9Y3bMaX4ne+K35myjr8YvXXcbZJPfghesxJldF HcJirXOtDZuQSaH7Zo3jyqImfym6m8Rz1AIpKn5et8iYwb04UDe8C0T8cNUT5pD/Vwn3 q5QaZwqMcPyptZSetcIiZI5omPjr2FR8TYcJfJ2h0/eqI9zYSdRDLgiqNYFgEIR/fddA SCJWPWk+ctr+7emRfcOOXX0+oGhGHx4spPJFMklt+OC4TK2q5Gw5GvruKWMwughBIU+y RIiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aMeRUVwo; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g190-20020a636bc7000000b004349119ea7bsi12173480pgc.401.2022.11.01.02.34.38; Tue, 01 Nov 2022 02:34:46 -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=@kernel.org header.s=k20201202 header.b=aMeRUVwo; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230073AbiKAJ0F (ORCPT + 66 others); Tue, 1 Nov 2022 05:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbiKAJ0E (ORCPT ); Tue, 1 Nov 2022 05:26:04 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26432183A7 for ; Tue, 1 Nov 2022 02:26:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 0D803CE1939 for ; Tue, 1 Nov 2022 09:26:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF5D6C433D7; Tue, 1 Nov 2022 09:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667294758; bh=piDfUYcTSPFG+8NXoxpzPe2VMFyn71wc8s1HndhnTrQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=aMeRUVwortMMkqP3xgA7zfddYbJiLu3ljO3fFMgixmKdYZVDIZ1Gi6pJQSdPT6BqM 446zdiXh1sw3RTPosy4yXB1WPs5BRX6Dbq7SoC1wnYOe8P15bsPYo0MqxKKVkFM7ah v3QzrsaPGCxVbfwaobtlYHKQtHfdXuPte9TlCXbDdBcqsaSbdn2oS0irLDPwvcHWQf sCJYx9ASVC7mSn+epykuLzIByz3mqymmFqOZmw9LWAH4KUGo/FI9BbJmz37I+0biIX 5nTHhAcYf5ZP6LWylJpSabL+ud9g4p1MlgDfZv0i0WXhV/GV0VairsMp28m9cdsvzg QATMf+/eO2vgg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: check if sta's mac_id is valid under AP/TDLS From: Kalle Valo In-Reply-To: <20221021091828.40157-1-pkshih@realtek.com> References: <20221021091828.40157-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166729475593.21401.11061116132311676756.kvalo@kernel.org> Date: Tue, 1 Nov 2022 09:25:57 +0000 (UTC) X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > Add boundary check of mac_id when adding sta under AP/TDLS. > And, return -ENOSPC if the acquired mac_id is invalid. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 46245bc42aff wifi: rtw89: check if sta's mac_id is valid under AP/TDLS -- https://patchwork.kernel.org/project/linux-wireless/patch/20221021091828.40157-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches