Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6605627ybf; Fri, 6 Mar 2020 00:51:05 -0800 (PST) X-Google-Smtp-Source: ADFU+vudJyARtO6wVjtST9d0NaIxkTBLGELZfBmY4VsiZOKE1T7dR1Q5ASswRvBdcpIcOwkiSR4f X-Received: by 2002:a9d:6c4f:: with SMTP id g15mr1581882otq.96.1583484664974; Fri, 06 Mar 2020 00:51:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583484664; cv=none; d=google.com; s=arc-20160816; b=jnE74ZC/D7jjLPeN1hJFI+A2uhmoyCEQZby+hTyVcUeDtSdjCELjAxN65N8ZeMeXv8 aYDsvTy+uN6lHIcLgrOLVJT4IoJcHDjTWNuPj5IsfGmkvWxW0PDi/rN1hqWlbefSDheY 7ohmLnAlEegOMh2udnYGB1JsUCwxDXMcc4KmxsD5VyL4g5oR8D4KW1IBuNhzOg5/xWUi MPgIGsE7NHMRN3ayMBWtz9zENFZoF7wD/TZOudXodimmWU0Yt2b6920anFHS4bmzumEN KiUBpRNhgXm6NCchxdyVNonjAv/cI9d8dKcb5qpKS6YztS0nJoOnnzDmJL7bc/b6snjM MVVA== 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; bh=FEU4wPCJRrV8Pm/9kcC1ppVQDo9k+LvKPG5ove0LQCE=; b=yH/LWeCdb7BXsG5t3jsrW4OR0WPY2JzvO1HVRp+83Kie7ttBoeQW8WYeRiQxHzlXMM QPDeGLOjfNkMB6uykgqOKc9md7SctXZlZ50mYt3KV2HpLUGtPquM7NI3NOT25kQBkbQ5 3xusRd/M/QkWKx8vOWgaPvPGjjnpQFFH6DaIWqv+A1svvnxeYiPEchNeZB4bZ1a+XMLA UNhptTV2uX/nvtzEDyMqtbel0r/XmCwXfVAeAyJ3p/sjtLyGYwuW260V0O10Ty7KSIR+ +Sg303Xj1PPXM/JE6DUBsU+a8py/MWbOIQAO5gpcJMst6cLuvLaYhQFP59eqm6PFIWG+ bTbg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si1088104oic.99.2020.03.06.00.50.43; Fri, 06 Mar 2020 00:51:04 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725941AbgCFIs2 (ORCPT + 99 others); Fri, 6 Mar 2020 03:48:28 -0500 Received: from mailext.lri.fr ([129.175.15.10]:39458 "HELO mailext.lri.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1725908AbgCFIs2 (ORCPT ); Fri, 6 Mar 2020 03:48:28 -0500 Received: from [129.175.15.10] (mailext.lri.fr [129.175.15.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mailext.lri.fr (Postfix) with ESMTPSA id 41155C0F17; Fri, 6 Mar 2020 09:48:26 +0100 (CET) Subject: Re: [PATCH] mac80211: Do not send mesh HWMP PREQ if HWMP is disabled To: Thomas Pedersen , linux-wireless@vger.kernel.org Cc: Johannes Berg References: <20200305140409.12204-1-cavallar@lri.fr> <0deb25c7-4880-a29b-6a38-396e1d235180@adapt-ip.com> From: Nicolas Cavallari Message-ID: <2e29372a-de74-4cf5-ed53-ca5de15142b2@lri.fr> Date: Fri, 6 Mar 2020 09:48:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <0deb25c7-4880-a29b-6a38-396e1d235180@adapt-ip.com> Content-Type: text/plain; charset=utf-8 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 On 05/03/2020 21:07, Thomas Pedersen wrote: > On 3/5/20 6:04 AM, Nicolas Cavallari wrote: >> From: Nicolas Cavallari >> >> When trying to transmit to an unknown destination, the mesh code would >> unconditionally transmit a HWMP PREQ even if HWMP is not the current >> path selection algorithm. >> > > The skb would still get queued onto the mpath->frame_queue. Is it > this expected? ie. do you have a non-hwmp path selection algorithm which > will handle it, or are you really checking if path selection is > disabled? Well, there is no way to disable path selection, is it ? The only way for HWMP to be disabled is to use a vendor path selection, right ? So as soon as userspace adds the path, the skb will be sent.