git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETNS]: Compilation warnings under CONFIG_NET_NS.
[pandora-kernel.git]
/
include
/
net
/
sock.h
diff --git
a/include/net/sock.h
b/include/net/sock.h
index
7e0d4a0
..
1c9d059
100644
(file)
--- a/
include/net/sock.h
+++ b/
include/net/sock.h
@@
-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;