Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2524855iof; Wed, 8 Jun 2022 06:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1JMAWd0mVLFiGAOH+SGxx9agYqh6ZZUWQp0oHbhWMrUveU4S82ezPi7XyIY2e4REm8Vbg X-Received: by 2002:a17:902:b692:b0:14c:935b:2b03 with SMTP id c18-20020a170902b69200b0014c935b2b03mr34194734pls.81.1654696286033; Wed, 08 Jun 2022 06:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654696286; cv=none; d=google.com; s=arc-20160816; b=MVO4FNQm6NFCU+H/GiFIchfJufVgyIQ0CqVhP1WVxSlLGKMlEfLruZZW6JJE58uZnJ P5ntGYu1iEtjCUh4sX6BzECF2lRSAkzFUjTzB2TyfQa6kb09eurxx9BYFKl2FmqaSq7n lPZa6qHkFS2bkbKd7w7abiE+6JGBIDn7c5CTREwKG4w6a63Dj3ghJ9rRJTo/UVi9+d9L GwyL03ICxOA9nJUdUpAtOCfqrLUcLQtYcVqzB71RyAHiWkDfv9pXaCrfP9DfEVJB+YEe vFG+Hd1o1Fom0XJ78DmyTB+0EfCU+eA2lD81kiDdm41Ai9ZUGt9Wu0CdbjWWWH07DiEv h/jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:authenticated-by; bh=wlqHYtk2e6UlEXN8pfaWRZFWDGGaTJa2olvv6eV2Fvc=; b=D2LdTdPaZz9fRQFgCl36A88fjGjZsrGW/4fC3w82Tl6z2rMjmEe/KgZlUqsWp0ewne iVaNC+U82ZE0BwPzBYX6I7cdl9f0YywGNyv4hVhvIFmdz96ak2/bFYVLuo3x3lirv30z mCntRgxqvPrCev+tNO3e/fWjZXgJpwB8a24zKHiKHn85nOX/BAzzkUNlzft/50mkJ7SA iVgqk11bJy5R1xiksqvB83gSgWx0je+jy9EDbWUteZWpfQuGpV6D9wPyJmxxoLzN3Hue y6hFFNEOHKGXuW68V390F+8ob671rINCfHhMzlpNu6arQAWwDT7lxTy+nyVPdapIuYR1 O1ew== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n8-20020a6546c8000000b003c142e9d0f7si29572894pgr.557.2022.06.08.06.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 06:51:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A007C60BBB; Wed, 8 Jun 2022 06:26:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240172AbiFHN0P (ORCPT + 67 others); Wed, 8 Jun 2022 09:26:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240083AbiFHN0O (ORCPT ); Wed, 8 Jun 2022 09:26:14 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDCAD366BD; Wed, 8 Jun 2022 06:26:10 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 258DPZRI0001741, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 258DPZRI0001741 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 8 Jun 2022 21:25:35 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36504.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 8 Jun 2022 21:25:34 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 8 Jun 2022 21:25:34 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::34e7:ab63:3da4:27c6]) by RTEXMBS04.realtek.com.tw ([fe80::34e7:ab63:3da4:27c6%5]) with mapi id 15.01.2308.021; Wed, 8 Jun 2022 21:25:34 +0800 From: Ping-Ke Shih To: "martin.blumenstingl@googlemail.com" , "s.hauer@pengutronix.de" CC: "johannes@sipsolutions.net" , "kernel@pengutronix.de" , "neojou@gmail.com" , "kvalo@kernel.org" , "tony0620emma@gmail.com" , "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux@ulli-kroll.de" Subject: Re: [PATCH v2 05/10] rtw88: iterate over vif/sta list non-atomically Thread-Topic: [PATCH v2 05/10] rtw88: iterate over vif/sta list non-atomically Thread-Index: AQHYdDPOvAC5P6vVz0elhZc8Fv6eZa1EBxiAgAEAxQA= Date: Wed, 8 Jun 2022 13:25:34 +0000 Message-ID: References: <20220530135457.1104091-1-s.hauer@pengutronix.de> <20220530135457.1104091-6-s.hauer@pengutronix.de> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1-2 x-originating-ip: [172.16.16.197] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzYvOCDkuIrljYggMTE6NDg6MDA=?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36504.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 SGkgTWFydGluIGFuZCBTYXNjaGEsDQoNClRoYW5rIHlvdSBib3RoLg0KDQpPbiBXZWQsIDIwMjIt MDYtMDggYXQgMDA6MDYgKzAyMDAsIE1hcnRpbiBCbHVtZW5zdGluZ2wgd3JvdGU6DQo+IEhpIFNh c2NoYSwNCj4gDQo+IHRoYW5rcyBmb3IgdGhpcyBwYXRjaCENCj4gDQo+IE9uIE1vbiwgTWF5IDMw LCAyMDIyIGF0IDM6NTUgUE0gU2FzY2hhIEhhdWVyIDxzLmhhdWVyQHBlbmd1dHJvbml4LmRlPiB3 cm90ZToNCj4gWy4uLl0NCj4gPiAgZHJpdmVycy9uZXQvd2lyZ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