Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1304548ybt; Thu, 25 Jun 2020 02:52:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu2zuPH7FRornKUYbfHkVQSLerIsL5MRhqcJc3Nw4cGtrr7p3r74ZnTYjoHfnprxkeTvIZ X-Received: by 2002:a50:cd1e:: with SMTP id z30mr12615665edi.364.1593078754139; Thu, 25 Jun 2020 02:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593078754; cv=none; d=google.com; s=arc-20160816; b=zuBW/ZozLXIBbzLrHFKPh6IvfkHp5AZqMrlrD3ePubVADa/SGh1LvqEpil5f6kKbVs q8ngqBRqNsiTddFWhdwkzod69gAy/+JtCnGpxS5jR7h/XBQVrO0KOoxqE+sHCECvW9ZC ahlpokNF0niwjVtMtPThxgJtliUQFgXTQiaJukjM6Bd21I2TNYQ/i+ZmJM1/MAojE3qk 2zcOzNWeNdpBDv5yA8UVFQWmYV0JFVy2/832coIstEJDZzlyUgwDfhqooy6Hfw2jShC2 Z6t7u9bAa3PhfD5RcYGg6af0Q4C1X4n/0J9zVHNATpi2YBg3n670ZpgI6/O2BSAe+20D sORw== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=BxUSDkfcJnJrw6AIlDRnvvIgITbDrAJh2sN3LTgWSBU=; b=XbX+3GClwyZQ3xWSsGdz0yVU4B9+Y0q9pHmCKFUezo5beXS9CIXsSIG8vm0HJpBS4o +ABKlbTSX6etjwvHDmEPJ/LOgRpD2uvffZNlxh7IoqjhQGLg06h4BkLT1NRTH25sd8WR boaRmtMoXf8rehLRdnmKe+R1E32ireCPaD3mVligogNSxU685QkMIUUzTFY/TBpe1Dti n3NGYfl1NgQ6PRc31p6sh2qNdOHrrAYZwOsMZZ6rAGEgc8tyOSb/1cP6bdxx/rZwTTPe doAM/54KZamCbq/B873CaqYZYcRRpBO/LhSkg5tGejuJ+R4mrEF8aLVbf0bWMGYsZQvk AiEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr6si258921ejb.259.2020.06.25.02.52.10; Thu, 25 Jun 2020 02:52:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390810AbgFYJFN (ORCPT + 99 others); Thu, 25 Jun 2020 05:05:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389473AbgFYJFM (ORCPT ); Thu, 25 Jun 2020 05:05:12 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA26EC061573 for ; Thu, 25 Jun 2020 02:05:11 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1joNok-00Bmu1-16; Thu, 25 Jun 2020 11:05:10 +0200 Message-ID: <27f5d57bb70dae41e59808cd66931f21a362d3b6.camel@sipsolutions.net> Subject: Re: [PATCH v3 1/2] mac80211: skip mpath lookup also for control port tx From: Johannes Berg To: Markus Theil Cc: linux-wireless@vger.kernel.org Date: Thu, 25 Jun 2020 11:04:54 +0200 In-Reply-To: <20200617082637.22670-2-markus.theil@tu-ilmenau.de> References: <20200617082637.22670-1-markus.theil@tu-ilmenau.de> <20200617082637.22670-2-markus.theil@tu-ilmenau.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3 (3.36.3-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Applied (at least tentatively, haven't run all the tests yet), but > @@ -3933,6 +3933,7 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb, > struct ieee80211_local *local = sdata->local; > struct sta_info *sta; > struct sk_buff *next; > + u32 ctrl_flags_adapted; I removed this - the loop can only process fragments of the same frame that should all be handled the same. > - if (proto == sdata->control_port_protocol) > - ctrl_flags |= IEEE80211_TX_CTRL_PORT_CTRL_PROTO; > + if (proto == sdata->control_port_protocol) { > + ctrl_flags |= IEEE80211_TX_CTRL_PORT_CTRL_PROTO | > + IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP; > + } And this doesn't need braces. johannes