]> git.baikalelectronics.ru Git - kernel.git/commit
sock_map: Relax config dependency to CONFIG_NET
authorCong Wang <cong.wang@bytedance.com>
Sun, 4 Jul 2021 19:02:42 +0000 (12:02 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 16 Jul 2021 01:17:49 +0000 (18:17 -0700)
commitfb34cb5128f0635eae711357c162e4dc1f9840cb
tree50af04ab5489ac37b49538954851de9c0bc60a6c
parentd7a17b48413c8847378b96fd31171f5049066ff5
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
include/linux/bpf.h
kernel/bpf/Kconfig
net/core/Makefile