projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497c3a5
)
udp: Remove unused function declaration udp_bpf_get_proto()
author
Yue Haibing
<yuehaibing@huawei.com>
Tue, 1 Aug 2023 13:39:02 +0000
(21:39 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 2 Aug 2023 19:10:46 +0000
(12:10 -0700)
commit
8a59f9d1e3d4
("sock: Introduce sk->sk_prot->psock_update_sk_prot()")
left behind this.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link:
https://lore.kernel.org/r/20230801133902.3660-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/udp.h
patch
|
blob
|
history
diff --git
a/include/net/udp.h
b/include/net/udp.h
index 4d13424f8f723fac642277e679fc26e498811dbf..5a8421cd9083658f2460de5a225700f242f0dcdb 100644
(file)
--- a/
include/net/udp.h
+++ b/
include/net/udp.h
@@
-529,7
+529,6
@@
static inline void udp_post_segment_fix_csum(struct sk_buff *skb)
#ifdef CONFIG_BPF_SYSCALL
struct sk_psock;
-struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
#endif