Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp942269ybe; Wed, 11 Sep 2019 07:06:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwU8NyoEf15sCBHTnBcluEf2wdAqEBxjl17ATHHmjh1rYgKS6FY13bfMHTHeNKYj7D6csbP X-Received: by 2002:a05:600c:2047:: with SMTP id p7mr4406724wmg.13.1568210808449; Wed, 11 Sep 2019 07:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568210808; cv=none; d=google.com; s=arc-20160816; b=A2p3gtsyJD4YjQdHY5Jv13TxdP6GmGH9HQbk4fVLcRpkc/DKOv+iore5ZNb19/eqQI N6ormMqUIUSDE/wMKoWX4xSeip3LxzR7yroZ0P+z/5BHEMvOJ8M4n2uvKCaNXx/KH9Ym zAfeQCI3tHhGP5FlxY1up0X7NA79Nyz3ettrKR03CQInEs/yCVlwSDmp08FT25CXhGHc YJmdx7eAheSUsb44gn+YFaoa3tALVP8zANf7gr495Mp5I8VIO0zgsU93DMitJ+YyAaR8 OzScl5LM/CrZn95tLeFu/cCz6m3ltRE62IV4ygYQlf6zYElh36OPP40XWs4RlhNRfeIb GVoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dG0h5xr7PLWX3L1atFp9BWDn9f7GpG/Z8DYTb3U4rQ4=; b=c9lyEEJFv6cqefdw1hknd2CeiCw26ujkaZ/respIc6dxSaWoH/oO5QozBnDW+1zWEs 5Hu7TFjQ3DfTvW84DTTCwJWorviCvo7MlLsJuCW5wTMwgTJAkPkAF4wAs8biEEOJsnao sLxRDGB/UN/qgwXcqiieiCgttvFRUsxzP/eEEIPItD4RfZ7wWOa2jIc7JvlWo2Pbi5qL KG23CS4UcpbG1b0EyD1+dMMFDv55HQ8ay/WD4OcALeGj+XE7cqm8OdPkvHIxxFgy9Djk c3zv2caarN4HBJMDQzH5HUdieF8UCk0nDWJSKiF5XNUoe70ypV1McGfjANIdaV5G3rJu Wk8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZP2OF21C; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si13963876edz.299.2019.09.11.07.06.20; Wed, 11 Sep 2019 07:06:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZP2OF21C; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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 S1727674AbfIKOGG (ORCPT + 99 others); Wed, 11 Sep 2019 10:06:06 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:36697 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfIKOGG (ORCPT ); Wed, 11 Sep 2019 10:06:06 -0400 Received: by mail-oi1-f193.google.com with SMTP id k20so14197135oih.3; Wed, 11 Sep 2019 07:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dG0h5xr7PLWX3L1atFp9BWDn9f7GpG/Z8DYTb3U4rQ4=; b=ZP2OF21C3vwcf7/IRHQORsFEZmCsgicTi1Op+DG2/KplgJVDynX5wuLDrzyOkVlX0f hUxoAlJXYriNpae7K3bbZYoOSoXR4gP1JXwCMVCzd612qB1PvozP0/3K1BZMB3yjV0a+ c6SxtaouKPgXbvv8LyiwDU00REQsv4TdN6phb5TvoUyQSNVkOWusjkdqO8pLPNAcs0MP ahg0exc4I5NlVcrSt1w2lwVXxEAb6iQc0VEpGIb2Wgoui/tEvmFxN0pcH4Mu59IBFdT5 CNTSLVkfygneI9wOBFNzad4DvfAzafUeP08r/nYxdOm2Ld/uOiDmAS1CNJ17yQi8cChr chxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dG0h5xr7PLWX3L1atFp9BWDn9f7GpG/Z8DYTb3U4rQ4=; b=S6O3vTBluwMl6jEl3XtZFrCWNnz9q+ZJlFwrmQ2/9ElDdPIpBkzS/FrBoX8WOHX+/A ckP8Bf1k4YgzSE3iWWo29IwCSbBvDnhJyOs4ERUjb88ThE1Jb2be2qgGf82jBBhlJAp0 vWRSB8Z0TBXDs8GwiybZmPlMry02/igpOHesyGbpdrW1CP4zcUdeMVLRIgR8wS0ZZ/xR 8tVpbR9gxM971wZ/OrmI4wb6AHo5/JzGw0BuGWfwEqMge8jUCVqAxcCxBAdV97Bx7PP1 4IM69IkVjhBAkIoPtsKQ9zfrhRl4gwuHQYaJForON0snsZoa0YO5CzzvyDLMAzX/lZI9 +8Kw== X-Gm-Message-State: APjAAAV0b7yj5Tk2feB+FgwALGotTKSLddeVWs8WJuUYikI3eTrDBne7 5XpLuULqg2uR9Lw+dPtZpIUCqlvQ X-Received: by 2002:aca:c645:: with SMTP id w66mr4413165oif.9.1568210765336; Wed, 11 Sep 2019 07:06:05 -0700 (PDT) Received: from [192.168.1.249] (cpe-70-114-247-242.austin.res.rr.com. [70.114.247.242]) by smtp.googlemail.com with ESMTPSA id i47sm8174197ota.1.2019.09.11.07.06.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Sep 2019 07:06:04 -0700 (PDT) Subject: Re: [PATCH] cfg80211: Purge frame registrations on iftype change To: Johannes Berg , linux-wireless@vger.kernel.org Cc: stable@vger.kernel.org References: <20190828211110.15005-1-denkenz@gmail.com> <5dc694c33759a32eb3796668a8b396c0133e1ebe.camel@sipsolutions.net> From: Denis Kenzior Message-ID: <8fdb9d1f-d535-22ed-1a1a-357f826ecf54@gmail.com> Date: Wed, 11 Sep 2019 07:12:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Johannes, >> 'typical' failure paths. I didn't add such checking in the other patch >> set since I felt you might find it overly intrusive on userspace. But >> maybe we really should do this? > > As I just said on the other patch, I think we probably should do that > there, if just to be able to advertise a correct set of interface types > that you can switch between there. I don't see how it'd be more > intrusive to userspace than failing later? :-) What I was worried about was that all the fullmac drivers would have had to be updated to set the feature bit, and it would have caused wpa_s/hostapd to no longer be able to do the whole set_iftype -> ebusy -> ifdown & set_iftype retry logic until all were updated. >> I would concur as that is what happens today. But should it? > > Well, dunno, what should happen? If you ask drivers they might want to > remove & re-register after, for those registrations that are still > possible. > I would think you'd want to define a clear order of operations that cfg80211 / mac80211 would enforce :) > > Let's not then. > > I've applied this patch now. > Great, thanks. Regards, -Denis