projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
soreuseport: fix NULL ptr dereference SO_REUSEPORT after bind
[cascardo/linux.git]
/
include
/
net
/
sock_reuseport.h
diff --git
a/include/net/sock_reuseport.h
b/include/net/sock_reuseport.h
index
7dda3d7
..
aecd303
100644
(file)
--- a/
include/net/sock_reuseport.h
+++ b/
include/net/sock_reuseport.h
@@
-16,7
+16,7
@@
struct sock_reuseport {
};
extern int reuseport_alloc(struct sock *sk);
};
extern int reuseport_alloc(struct sock *sk);
-extern int reuseport_add_sock(struct sock *sk,
const
struct sock *sk2);
+extern int reuseport_add_sock(struct sock *sk, struct sock *sk2);
extern void reuseport_detach_sock(struct sock *sk);
extern struct sock *reuseport_select_sock(struct sock *sk,
u32 hash,
extern void reuseport_detach_sock(struct sock *sk);
extern struct sock *reuseport_select_sock(struct sock *sk,
u32 hash,