diff options
author | Yonghong Song <yhs@fb.com> | 2020-05-13 21:02:20 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-05-13 22:30:50 +0300 |
commit | ab2ee4fcb9d61fd57db70db694adbcf54662bd80 (patch) | |
tree | 40305c8c6341399cf726ef6553c8fa88c4938f98 /net/ipv6/route.c | |
parent | 15172a46fa2796c1a1358a36babd31274716ed41 (diff) | |
download | linux-ab2ee4fcb9d61fd57db70db694adbcf54662bd80.tar.xz |
bpf: Change func bpf_iter_unreg_target() signature
Change func bpf_iter_unreg_target() parameter from target
name to target reg_info, similar to bpf_iter_reg_target().
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200513180220.2949737-1-yhs@fb.com
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 6ad2fa51a23a..22bf4e36c093 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -6412,7 +6412,7 @@ static int __init bpf_iter_register(void) static void bpf_iter_unregister(void) { - bpf_iter_unreg_target("ipv6_route"); + bpf_iter_unreg_target(&ipv6_route_reg_info); } #endif #endif |