Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1565348rda; Mon, 23 Oct 2023 17:24:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpQcI3VgFgJub3nvMR+O1WvTjXOWuMe9ffdpBPzYyiK/O90vw3D3g+uqeauroApiwOzTb5 X-Received: by 2002:a17:90b:2b46:b0:27d:882f:e6c5 with SMTP id rr6-20020a17090b2b4600b0027d882fe6c5mr8627210pjb.9.1698107076905; Mon, 23 Oct 2023 17:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698107076; cv=none; d=google.com; s=arc-20160816; b=AnsW/omqZuY+7zLFjdqYTcCGyJBby10FI+BokqpCVzeRcv++u9Yvqy2BzLf46UxNm7 qfZXdLzxvJ6m1ackkPw+YQmpcGBDBJaxZsCibaLRqkwRQBxH95BAfa2zJ4npUSszr00D 7ATUGVk3jHe8nl+phjU9+KS9jWyA99QkiJ/pEE/ez4qgwEWLFY13G3cjUU95yoRdKI4g uXh5zJYtqnfry8ZKWDOpA0Bu2XA+pIBK1B1qm7lWYkjZu+8dXbtfvzwFGylpOj5yrRM0 LTKCit9E4bjzIEY7tVo5/epMfSiOhsJ1shyEDRkt9NfU5sB6Cm4edddQIfOWuQELTVj9 1Rog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=VHG3qd0ihqSbQoervLNrF0qsR2BSCx5XwGkeZm5mMJw=; fh=/aVzvmyOgmNi9+9btbpMJMw8+rlEoFQ6neC85sKUv4o=; b=VC43M5TrjvNq0Yb1MafcpB7iVUblPG3HaF9yJlcc1XBJopldZ7P73Z7zLBkmz8FpG3 eLNEQQ9aD2aY3jJLwcZ305XAzq3IB/DY4zc2RQbHq03dkL+pX+/k6OMmUO5kw8z0LbUm jVaD+kmlPVAueP1HOqbvkoy6PMHPh/ASaGiZ+VoEpBBRn5P83hvM7dKzHc+qw1fWgWAu T4zku8IDK3qrKyRH/JFPos8p9NOe3Q+hoXUOTR5MDxA/EZqK7V16yla/1HwGDu5pQNyW BDx+TltMAQsGR3tljST0KvUX17o+eP4EKqr5lYdvMPNUnqcjcoHVB83/vkcfaVPo8JPM 13aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=B8VfHiqk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d8-20020a17090ab30800b00263860e1f4csi9380783pjr.16.2023.10.23.17.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=B8VfHiqk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D190E80C1139; Mon, 23 Oct 2023 17:24:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbjJXAYc (ORCPT + 52 others); Mon, 23 Oct 2023 20:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjJXAYc (ORCPT ); Mon, 23 Oct 2023 20:24:32 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF8AA10C; Mon, 23 Oct 2023 17:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1698107068; bh=VHG3qd0ihqSbQoervLNrF0qsR2BSCx5XwGkeZm5mMJw=; h=Date:From:To:Cc:Subject:From; b=B8VfHiqkm/9nfuJmVNKEvFAeiPqH1H0ap5GAPk+cBi5qGgddSX30Zy7qdV2kEDa7S e89qqkyBRrHXoOGMrP25V/aHizh+IzgOKBWBX1xd0YQxaRWVEw6yfNw2DoOdP9LA/j S0ig817d0NhJjZmma2iQr6mvsAVviY8RxE++ZaPZaD4yBmy6vKbga17IlAQaS6WA8k mrOvPY4z7qU4xwrcPNPRZkdzdgv1Ly7kMVtahTWePkuz0o6+QTF0wyFdqQA1HnuJlh dnWEBTLAxzwD1BMrEPC0Le3eOsfa+RXA0wGtco1oo1a7BaXZsf50uaHNTt+ZCsZyac hpBg3E4Y0DaPg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SDt964JWwz4wdB; Tue, 24 Oct 2023 11:24:26 +1100 (AEDT) Date: Tue, 24 Oct 2023 11:24:24 +1100 From: Stephen Rothwell To: David Miller , Jakub Kicinski , Paolo Abeni , Kalle Valo , Johannes Berg Cc: Wireless , Networking , Avraham Stern , Gregory Greenman , Johannes Berg , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the net-next tree with the wireless tree Message-ID: <20231024112424.7de86457@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Nw9FIGoSTm34d8mrxtC=U0K"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 17:24:35 -0700 (PDT) --Sig_/Nw9FIGoSTm34d8mrxtC=U0K Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/mac80211/rx.c between commit: 91535613b609 ("wifi: mac80211: don't drop all unprotected public action f= rames") from the wireless tree and commit: 6c02fab72429 ("wifi: mac80211: split ieee80211_drop_unencrypted_mgmt() re= turn value") from the net-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc net/mac80211/rx.c index 8f6b6f56b65b,051db97a92b4..000000000000 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@@ -2468,14 -2469,15 +2469,14 @@@ ieee80211_drop_unencrypted_mgmt(struct=20 =20 /* drop unicast public action frames when using MPF */ if (is_unicast_ether_addr(mgmt->da) && - ieee80211_is_public_action((void *)rx->skb->data, - rx->skb->len)) + ieee80211_is_protected_dual_of_public_action(rx->skb)) - return -EACCES; + return RX_DROP_U_UNPROT_UNICAST_PUB_ACTION; } =20 - return 0; + return RX_CONTINUE; } =20 - static int + static ieee80211_rx_result __ieee80211_data_to_8023(struct ieee80211_rx_data *rx, bool *port_control) { struct ieee80211_sub_if_data *sdata =3D rx->sdata; --Sig_/Nw9FIGoSTm34d8mrxtC=U0K Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmU3DrgACgkQAVBC80lX 0GxQowgAjrrkc0sOifGahOamyKGt/SatG8ExWc66k2mkZDrxIkTp97v9XTACMawX ghc6Tr6alRgFWvjNGXGDZkR/l9nEqOz+UQKzjRV7FL3RtssbglmEQvO5B7M0XO1L LmZPuQIk1fbMIh9fC5QwFjQkQvRCH0E0IcFvwmqx6WGg/F+8a8HhM9gQPyhIy0UD nZCrQR938eNkEfWUJPJSWA4c79NYYwzxqgyAO7+wYRw/ywj56wMEEKN6TEujjed9 k3knHieuIrlgjbSPDTlkIbqTq0p+7U46xOmhuybHn7aIDTWPKts+91suTTrTnZHJ sCqklT3h+BQlsNlrTSSR9iOC6oJBzA== =zLiy -----END PGP SIGNATURE----- --Sig_/Nw9FIGoSTm34d8mrxtC=U0K--