bpf: Remove attach_type in sockmap_link
authorTao Chen <chen.dylane@linux.dev>
Thu, 10 Jul 2025 03:20:34 +0000 (11:20 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 11 Jul 2025 17:51:55 +0000 (10:51 -0700)
commit33f69f736570d9ca4d54e241a42da26ea1b3d13a
tree6958ad987b3b026671575e203de9927df0844203
parent9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28
bpf: Remove attach_type in sockmap_link

Use attach_type in bpf_link, and remove it in sockmap_link.

Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20250710032038.888700-4-chen.dylane@linux.dev
net/core/sock_map.c