|
@@ -126,7 +126,7 @@ void inet_put_port(struct sock *sk)
|
|
|
}
|
|
|
EXPORT_SYMBOL(inet_put_port);
|
|
|
|
|
|
-int __inet_inherit_port(struct sock *sk, struct sock *child)
|
|
|
+int __inet_inherit_port(const struct sock *sk, struct sock *child)
|
|
|
{
|
|
|
struct inet_hashinfo *table = sk->sk_prot->h.hashinfo;
|
|
|
unsigned short port = inet_sk(child)->inet_num;
|