]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/inet6_connection_sock.c
ipv6: Fix inet6_csk_bind_conflict so it builds with user namespaces enabled
[~andy/linux] / net / ipv6 / inet6_connection_sock.c
index e4297a393678c5e7fadcd3119f3ce53301da07a0..b386a2ce4c6fdd4b01afe3903e6988fbdeaa2043 100644 (file)
@@ -34,7 +34,7 @@ int inet6_csk_bind_conflict(const struct sock *sk,
        const struct hlist_node *node;
        int reuse = sk->sk_reuse;
        int reuseport = sk->sk_reuseport;
-       int uid = sock_i_uid((struct sock *)sk);
+       kuid_t uid = sock_i_uid((struct sock *)sk);
 
        /* We must walk the whole port owner list in this case. -DaveM */
        /*