diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-03-25 15:06:02 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-03-26 17:43:55 +0100 |
commit | fcb8d0d7587e0f2b7439d6c14a380fd17a450f96 (patch) | |
tree | e7a083d64ae84d16c92da52e22f7f9052088edd7 /include | |
parent | b0c407ec503b8e97bbffd65cc4bed39e008c192f (diff) | |
download | linux-fcb8d0d7587e0f2b7439d6c14a380fd17a450f96.tar.bz2 |
bpf: struct sock is declared twice in bpf_sk_storage header
struct sock has been declared twice, therefore remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210325070602.858024-1-wanjiabing@vivo.com
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bpf_sk_storage.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bpf_sk_storage.h b/include/net/bpf_sk_storage.h index 0e85713f56df..2926f1f00d65 100644 --- a/include/net/bpf_sk_storage.h +++ b/include/net/bpf_sk_storage.h @@ -27,7 +27,6 @@ struct bpf_local_storage_elem; struct bpf_sk_storage_diag; struct sk_buff; struct nlattr; -struct sock; #ifdef CONFIG_BPF_SYSCALL int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk); |