projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inet: constify __inet_inherit_port() sock argument
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
inet_hashtables.h
diff --git
a/include/net/inet_hashtables.h
b/include/net/inet_hashtables.h
index b07d126694a7aa5d5910e2d4126522aebd602a98..3fb778d7c87540a64a105c402b0a0d6a3612b595 100644
(file)
--- a/
include/net/inet_hashtables.h
+++ b/
include/net/inet_hashtables.h
@@
-199,7
+199,7
@@
static inline int inet_sk_listen_hashfn(const struct sock *sk)
}
/* Caller must disable local BH processing. */
-int __inet_inherit_port(struct sock *sk, struct sock *child);
+int __inet_inherit_port(
const
struct sock *sk, struct sock *child);
void inet_put_port(struct sock *sk);