diff options
author | Cong Wang <cong.wang@bytedance.com> | 2021-07-04 12:02:42 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-07-15 18:17:49 -0700 |
commit | 17edea21b38d047a10c189296c58aea9875d0d0a (patch) | |
tree | 50af04ab5489ac37b49538954851de9c0bc60a6c /kernel | |
parent | 1554a080e76554fa71004bba5b93c4695932a4d7 (diff) | |
download | linux-17edea21b38d047a10c189296c58aea9875d0d0a.tar.bz2 |
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/Kconfig | 2 |
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 |