From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6E9B158020 for ; Wed, 14 Dec 2022 12:51:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DD72E0798; Wed, 14 Dec 2022 12:51:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id F0734E0798 for ; Wed, 14 Dec 2022 12:51:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id D4E50340C59 for ; Wed, 14 Dec 2022 12:51:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20B054C8 for ; Wed, 14 Dec 2022 12:51:30 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1671022273.f112e38167272c5ea2abb110c2151fa0c9f8ddbd.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:6.0 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 2010_netfilter-ctnetlink-compilation-fix.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: f112e38167272c5ea2abb110c2151fa0c9f8ddbd X-VCS-Branch: 6.0 Date: Wed, 14 Dec 2022 12:51:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c72a0c7-1032-4ff6-9de5-0ee6611249d3 X-Archives-Hash: 6d14fde8f5a2d1a521de8df3c145b2da commit: f112e38167272c5ea2abb110c2151fa0c9f8ddbd Author: Mike Pagano gentoo org> AuthorDate: Wed Dec 14 12:51:13 2022 +0000 Commit: Mike Pagano gentoo org> CommitDate: Wed Dec 14 12:51:13 2022 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=f112e381 Remove redundant patch Removed: 2010_netfilter-ctnetlink-compilation-fix.patch Signed-off-by: Mike Pagano gentoo.org> 0000_README | 4 -- 2010_netfilter-ctnetlink-compilation-fix.patch | 90 -------------------------- 2 files changed, 94 deletions(-) diff --git a/0000_README b/0000_README index a5d5308b..78a95ddc 100644 --- a/0000_README +++ b/0000_README @@ -111,10 +111,6 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/raw Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 -Patch: 2010_netfilter-ctnetlink-compilation-fix.patch -From: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git -Desc: netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark - Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch From: https://bugs.gentoo.org/710790 Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino diff --git a/2010_netfilter-ctnetlink-compilation-fix.patch b/2010_netfilter-ctnetlink-compilation-fix.patch deleted file mode 100644 index b7bd4dee..00000000 --- a/2010_netfilter-ctnetlink-compilation-fix.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 1feeae071507ad65cf9f462a1bdd543a4bf89e71 Mon Sep 17 00:00:00 2001 -From: Pablo Neira Ayuso -Date: Mon, 28 Nov 2022 10:58:53 +0100 -Subject: netfilter: ctnetlink: fix compilation warning after data race fixes - in ct mark - -All warnings (new ones prefixed by >>): - - net/netfilter/nf_conntrack_netlink.c: In function '__ctnetlink_glue_build': ->> net/netfilter/nf_conntrack_netlink.c:2674:13: warning: unused variable 'mark' [-Wunused-variable] - 2674 | u32 mark; - | ^~~~ - -Fixes: 52d1aa8b8249 ("netfilter: conntrack: Fix data-races around ct mark") -Reported-by: kernel test robot -Tested-by: Ivan Babrou -Signed-off-by: Pablo Neira Ayuso ---- - net/netfilter/nf_conntrack_netlink.c | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c -index d71150a40fb08..1286ae7d46096 100644 ---- a/net/netfilter/nf_conntrack_netlink.c -+++ b/net/netfilter/nf_conntrack_netlink.c -@@ -328,8 +328,13 @@ nla_put_failure: - } - - #ifdef CONFIG_NF_CONNTRACK_MARK --static int ctnetlink_dump_mark(struct sk_buff *skb, u32 mark) -+static int ctnetlink_dump_mark(struct sk_buff *skb, const struct nf_conn *ct) - { -+ u32 mark = READ_ONCE(ct->mark); -+ -+ if (!mark) -+ return 0; -+ - if (nla_put_be32(skb, CTA_MARK, htonl(mark))) - goto nla_put_failure; - return 0; -@@ -543,7 +548,7 @@ static int ctnetlink_dump_extinfo(struct sk_buff *skb, - static int ctnetlink_dump_info(struct sk_buff *skb, struct nf_conn *ct) - { - if (ctnetlink_dump_status(skb, ct) < 0 || -- ctnetlink_dump_mark(skb, READ_ONCE(ct->mark)) < 0 || -+ ctnetlink_dump_mark(skb, ct) < 0 || - ctnetlink_dump_secctx(skb, ct) < 0 || - ctnetlink_dump_id(skb, ct) < 0 || - ctnetlink_dump_use(skb, ct) < 0 || -@@ -722,7 +727,6 @@ ctnetlink_conntrack_event(unsigned int events, const struct nf_ct_event *item) - struct sk_buff *skb; - unsigned int type; - unsigned int flags = 0, group; -- u32 mark; - int err; - - if (events & (1 << IPCT_DESTROY)) { -@@ -827,9 +831,8 @@ ctnetlink_conntrack_event(unsigned int events, const struct nf_ct_event *item) - } - - #ifdef CONFIG_NF_CONNTRACK_MARK -- mark = READ_ONCE(ct->mark); -- if ((events & (1 << IPCT_MARK) || mark) && -- ctnetlink_dump_mark(skb, mark) < 0) -+ if (events & (1 << IPCT_MARK) && -+ ctnetlink_dump_mark(skb, ct) < 0) - goto nla_put_failure; - #endif - nlmsg_end(skb, nlh); -@@ -2671,7 +2674,6 @@ static int __ctnetlink_glue_build(struct sk_buff *skb, struct nf_conn *ct) - { - const struct nf_conntrack_zone *zone; - struct nlattr *nest_parms; -- u32 mark; - - zone = nf_ct_zone(ct); - -@@ -2733,8 +2735,7 @@ static int __ctnetlink_glue_build(struct sk_buff *skb, struct nf_conn *ct) - goto nla_put_failure; - - #ifdef CONFIG_NF_CONNTRACK_MARK -- mark = READ_ONCE(ct->mark); -- if (mark && ctnetlink_dump_mark(skb, mark) < 0) -+ if (ctnetlink_dump_mark(skb, ct) < 0) - goto nla_put_failure; - #endif - if (ctnetlink_dump_labels(skb, ct) < 0) --- -cgit -