summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2021-07-04 22:02:42 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-07-16 04:17:49 +0300
commit17edea21b38d047a10c189296c58aea9875d0d0a (patch)
tree50af04ab5489ac37b49538954851de9c0bc60a6c /kernel
parent1554a080e76554fa71004bba5b93c4695932a4d7 (diff)
downloadlinux-17edea21b38d047a10c189296c58aea9875d0d0a.tar.xz
sock_map: Relax config dependency to CONFIG_NET
Currently sock_map still has Kconfig dependency on CONFIG_INET, but there is no actual functional dependency on it after we introduce ->psock_update_sk_prot(). We have to extend it to CONFIG_NET now as we are going to support AF_UNIX. Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210704190252.11866-2-xiyou.wangcong@gmail.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/bpf/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/Kconfig b/kernel/bpf/Kconfig
index bd04f4a44c01..a82d6de86522 100644
--- a/kernel/bpf/Kconfig
+++ b/kernel/bpf/Kconfig
@@ -29,7 +29,7 @@ config BPF_SYSCALL
select IRQ_WORK
select TASKS_TRACE_RCU
select BINARY_PRINTF
- select NET_SOCK_MSG if INET
+ select NET_SOCK_MSG if NET
default n
help
Enable the bpf() system call that allows to manipulate BPF programs