projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c407e
)
bpf: struct sock is declared twice in bpf_sk_storage header
author
Wan Jiabing
<wanjiabing@vivo.com>
Thu, 25 Mar 2021 07:06:02 +0000
(15:06 +0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 26 Mar 2021 16:43:55 +0000
(17:43 +0100)
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
include/net/bpf_sk_storage.h
patch
|
blob
|
history
diff --git
a/include/net/bpf_sk_storage.h
b/include/net/bpf_sk_storage.h
index
0e85713
..
2926f1f
100644
(file)
--- 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);