All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin KaFai Lau <kafai@fb.com>
To: Tejun Heo <tj@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>, <bpf@vger.kernel.org>,
	<netdev@vger.kernel.org>, <kernel-team@fb.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET
Date: Tue, 26 Oct 2021 12:19:33 -0700	[thread overview]
Message-ID: <20211026191933.as4tk6vclw4q2fsg@kafai-mbp.dhcp.thefacebook.com> (raw)
In-Reply-To: <YXG1cuuSJDqHQfRY@slm.duckdns.org>

On Thu, Oct 21, 2021 at 08:46:10AM -1000, Tejun Heo wrote:
> bpf_types.h has BPF_MAP_TYPE_INODE_STORAGE and BPF_MAP_TYPE_TASK_STORAGE
> declared inside #ifdef CONFIG_NET although they are built regardless of
> CONFIG_NET. So, when CONFIG_BPF_SYSCALL && !CONFIG_NET, they are built
> without the declarations leading to spurious build failures and not
> registered to bpf_map_types making them unavailable.
> 
> Fix it by moving the BPF_MAP_TYPE for the two map types outside of
> CONFIG_NET.
Acked-by: Martin KaFai Lau <kafai@fb.com>

  reply	other threads:[~2021-10-26 19:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 18:46 [PATCH] bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET Tejun Heo
2021-10-26 19:19 ` Martin KaFai Lau [this message]
2021-10-26 19:25   ` Martin KaFai Lau

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=20211026191933.as4tk6vclw4q2fsg@kafai-mbp.dhcp.thefacebook.com \
    --to=kafai@fb.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=tj@kernel.org \
    /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.