[NETNS]: Compilation warnings under CONFIG_NET_NS.
[pandora-kernel.git] / include / net / sock.h
index 7e0d4a0..1c9d059 100644 (file)
@@ -1358,7 +1358,7 @@ struct net *sock_net(const struct sock *sk)
 }
 
 static inline
-void sock_net_set(struct sock *sk, const struct net *net)
+void sock_net_set(struct sock *sk, struct net *net)
 {
 #ifdef CONFIG_NET_NS
        sk->sk_net = net;