All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: kernel test robot <lkp@intel.com>
Cc: netfilter-devel@vger.kernel.org, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH nf-next 3/3] netfilter: nft_set_rbtree: do not modifiy live tree
Date: Wed, 19 Nov 2025 11:48:47 +0100	[thread overview]
Message-ID: <aR2gjylheAUlWlhv@strlen.de> (raw)
In-Reply-To: <202511191544.ss8W56uH-lkp@intel.com>

kernel test robot <lkp@intel.com> wrote:
> sparse warnings: (new ones prefixed by >>)
> >> net/netfilter/nft_set_rbtree.c:893:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>    net/netfilter/nft_set_rbtree.c:893:9: sparse:    struct rb_node [noderef] __rcu *
>    net/netfilter/nft_set_rbtree.c:893:9: sparse:    struct rb_node *
>    net/netfilter/nft_set_rbtree.c: note: in included file (through include/linux/mm_types.h, include/linux/page-flags.h, arch/arm64/include/asm/mte.h, ...):
>    include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>    include/linux/rbtree.h:74:9: sparse:    struct rb_node [noderef] __rcu *
>    include/linux/rbtree.h:74:9: sparse:    struct rb_node *

Sigh.

>  > 893		rcu_assign_pointer(priv->root[genbit].rb_node, NULL);

This can be replaced by

WRITE_ONCE(priv->root[genbit].rb_node, NULL);

  reply	other threads:[~2025-11-19 10:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-18 11:16 [PATCH nf-next 0/3] netfilter: nft_set_rbtree: use cloned tree for insertions and removal Florian Westphal
2025-11-18 11:16 ` [PATCH nf-next 1/3] netfilter: nft_set_rbtree: prepare for two rbtrees Florian Westphal
2025-11-18 11:16 ` [PATCH nf-next 2/3] netfilter: nft_set_rbtree: factor out insert helper Florian Westphal
2025-11-18 11:16 ` [PATCH nf-next 3/3] netfilter: nft_set_rbtree: do not modifiy live tree Florian Westphal
2025-11-19  8:29   ` kernel test robot
2025-11-19 10:48     ` Florian Westphal [this message]
2025-11-18 16:07 ` [PATCH nf-next 0/3] netfilter: nft_set_rbtree: use cloned tree for insertions and removal Fernando Fernandez Mancera
2025-11-18 16:46   ` Florian Westphal
2025-11-18 17:01     ` Fernando Fernandez Mancera
2025-11-19 12:52   ` Phil Sutter
2025-11-19 15:56     ` Florian Westphal
2025-11-19 22:14       ` Phil Sutter
2025-11-20 10:28         ` Florian Westphal
2025-11-20 11:39         ` Fernando Fernandez Mancera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aR2gjylheAUlWlhv@strlen.de \
    --to=fw@strlen.de \
    --cc=lkp@intel.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.