diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 7e0d4a0c4d12..1c9d059223ee 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -1358,7 +1358,7 @@ struct net *sock_net(const struct sock *sk) | |||
1358 | } | 1358 | } |
1359 | 1359 | ||
1360 | static inline | 1360 | static inline |
1361 | void sock_net_set(struct sock *sk, const struct net *net) | 1361 | void sock_net_set(struct sock *sk, struct net *net) |
1362 | { | 1362 | { |
1363 | #ifdef CONFIG_NET_NS | 1363 | #ifdef CONFIG_NET_NS |
1364 | sk->sk_net = net; | 1364 | sk->sk_net = net; |