Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp574042ybg; Fri, 12 Jun 2020 08:59:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjOMvlrOlm2I5q7xHo3uoVFGtkThxmmdPboEhZHmq8EaIA6C+bHzuQ200Sfo8G7degXSK3 X-Received: by 2002:a17:907:212b:: with SMTP id qo11mr1374043ejb.235.1591977577378; Fri, 12 Jun 2020 08:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591977577; cv=none; d=google.com; s=arc-20160816; b=klJDZXH6D97fLgHZaBouCptTBhzHm513GA3sG5Pyr0hDteimkz4yCsto39ZxUklGYg TxR+KKrV2iNMaey0g6QyXi8eVYDqdHoUwgvqMFlZpRoleYL8vqzGVMRzL7lgt4O1ECsU Ik+rqC93ExH7PsiII359Dnx92eSj4B0JYfvG/eXPfem94gSq/WHIwN4F/tq0nLpaDIZT CJV3w4qbug2VuibOguBTI3IIMN42fHNAWfs1xC6gpRH8utvbseEu4dx2VdBrucLBkchP 0TKVo3ZCQ59C1amdKnZvBF3C7BQjScFDm88K7bVtr2UjLpqt1BgEgJXsh9mY6P6UEUOU MreA== 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 :message-id:date:subject:cc:to:from; bh=k7c15WES4p0MGe/E6Bt6AsUOFYS/HMDAlAyaYBJ4piE=; b=GRh+gsqQooTZlJOfDDnEh54Hs0cTiI7y58iBFtS9gGrn2JM4ngxaDVpCog0nWJakhF 9gNW7N1dKfUZC9Qrl7qzOn7wZqGL6zWsOchx0gXfqEbx1RuLetyZNT4qYcqyw/KL2XZa K7kJrbisEuhxpce+5iXNt9Tv8UyliyfNS7vjJ67kgy+JQB9g8M1W6lAQFB/deDLaiQJ2 AIdKBtyRBPQ27fq6MvlL4/uxYoM4536oQ+li5OUFYtsffp6JgFtqP5j/gswYpfyqqjOE seZ/5ecHZUS8xR7YJYA6h6anshzm2tvvjatfDAXUc3wSe35dBCI4gejB2JsmFUu+uuE6 A+1A== 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 y2si3914585edp.396.2020.06.12.08.58.58; Fri, 12 Jun 2020 08:59:37 -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 S1726269AbgFLP6q (ORCPT + 99 others); Fri, 12 Jun 2020 11:58:46 -0400 Received: from smail.rz.tu-ilmenau.de ([141.24.186.67]:51230 "EHLO smail.rz.tu-ilmenau.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbgFLP6q (ORCPT ); Fri, 12 Jun 2020 11:58:46 -0400 Received: from legolas.fritz.box (unknown [87.147.49.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 909FB580060; Fri, 12 Jun 2020 17:58:44 +0200 (CEST) From: Markus Theil To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Markus Theil Subject: [PATCH v2 0/2] Fixes for 802.1X in mesh mode Date: Fri, 12 Jun 2020 17:58:34 +0200 Message-Id: <20200612155836.1207234-1-markus.theil@tu-ilmenau.de> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org In order to support 802.1X in mesh mode, userspace should be able to rx and tx eapol frames, after an initial MPM, before a second AMPE. Some checks regarding mesh forwarding were conflicting with this. Therefore this little series adds some checks for control port frames and disables mesh path lookups on the tx side or drop of unencrypted frames on the rx side. Markus Theil (2): mac80211: skip mpath lookup also for control port tx mac80211: allow rx of mesh eapol frames with default rx key net/mac80211/rx.c | 27 +++++++++++++++++++++++++++ net/mac80211/tx.c | 13 ++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) -- 2.27.0