aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/skmsg.h
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2021-01-27 14:15:01 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-01-28 00:35:03 +0100
commit8063e184e49011f6f3f34f6c358dc8a83890bb5b (patch)
tree50079f5d115d1a539f52bc489bf8b2d7fd4e44a7 /include/linux/skmsg.h
parentbpf: Change 'BPF_ADD' to 'BPF_AND' in print_bpf_insn() (diff)
downloadwireguard-linux-8063e184e49011f6f3f34f6c358dc8a83890bb5b.tar.xz
wireguard-linux-8063e184e49011f6f3f34f6c358dc8a83890bb5b.zip
skmsg: Make sk_psock_destroy() static
sk_psock_destroy() is a RCU callback, I can't see any reason why it could be used outside. Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Cc: John Fastabend <john.fastabend@gmail.com> Cc: Jakub Sitnicki <jakub@cloudflare.com> Cc: Lorenz Bauer <lmb@cloudflare.com> Link: https://lore.kernel.org/bpf/20210127221501.46866-1-xiyou.wangcong@gmail.com
Diffstat (limited to 'include/linux/skmsg.h')
-rw-r--r--include/linux/skmsg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/skmsg.h b/include/linux/skmsg.h
index fec0c5ac1c4f..8edbbf5f2f93 100644
--- a/include/linux/skmsg.h
+++ b/include/linux/skmsg.h
@@ -390,7 +390,6 @@ static inline struct sk_psock *sk_psock_get(struct sock *sk)
}
void sk_psock_stop(struct sock *sk, struct sk_psock *psock);
-void sk_psock_destroy(struct rcu_head *rcu);
void sk_psock_drop(struct sock *sk, struct sk_psock *psock);
static inline void sk_psock_put(struct sock *sk, struct sk_psock *psock)