Skip to contentSkip to conversation

include: net: struct sock is declared twice

PATCH Applied Wan Jiabing 2 participants 2 messages Mar 25, 2021 – Mar 26, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include: net: struct sock is declared twice

struct sock has been declared. Remove the duplicate.

---
 include/net/bpf_sk_storage.h | 1 -
 1 file changed, 1 deletion(-)
include/net/bpf_sk_storage.h +0 -1
index 0e85713f56df..2926f1f00d65 100644
@@ -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);
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to bpf/bpf-next.git (refs/heads/master):

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

Quoted 6 lines · On Thu, 25 Mar 2021 15:06:02 +0800 you wrote:

struct sock has been declared. Remove the duplicate.

---
 include/net/bpf_sk_storage.h | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- include: net: struct sock is declared twice

    https://git.kernel.org/bpf/bpf-next/c/fcb8d0d7587e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html