diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2023-05-26 13:21:02 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-05-31 13:06:57 +0200 |
commit | 9b68f30b68701e98abcec331a2cf3df972d910f8 (patch) | |
tree | 64a340c2b38b9c1f5dcc3aecff267bf4a12859a8 /net/bpfilter | |
parent | bpf: Replace all non-returning strlcpy with strscpy (diff) | |
download | linux-9b68f30b68701e98abcec331a2cf3df972d910f8.tar.xz linux-9b68f30b68701e98abcec331a2cf3df972d910f8.zip |
net: Use umd_cleanup_helper()
bpfilter_umh_cleanup() is the same function as umd_cleanup_helper().
Drop the redundant function.
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230526112104.1044686-1-jarkko@kernel.org
Diffstat (limited to 'net/bpfilter')
-rw-r--r-- | net/bpfilter/bpfilter_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bpfilter/bpfilter_kern.c b/net/bpfilter/bpfilter_kern.c index 422ec6e7ccff..97e129e3f31c 100644 --- a/net/bpfilter/bpfilter_kern.c +++ b/net/bpfilter/bpfilter_kern.c @@ -21,7 +21,7 @@ static void shutdown_umh(void) if (tgid) { kill_pid(tgid, SIGKILL, 1); wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); - bpfilter_umh_cleanup(info); + umd_cleanup_helper(info); } } |