git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: compat_mmsghdr must be used in sys_recvmmsg
[safe/jmp/linux-2.6]
/
net
/
netrom
/
af_netrom.c
diff --git
a/net/netrom/af_netrom.c
b/net/netrom/af_netrom.c
index
4bdd569
..
71604c6
100644
(file)
--- a/
net/netrom/af_netrom.c
+++ b/
net/netrom/af_netrom.c
@@
-431,7
+431,7
@@
static int nr_create(struct net *net, struct socket *sock, int protocol,
struct sock *sk;
struct nr_sock *nr;
- if (
net != &init_net
)
+ if (
!net_eq(net, &init_net)
)
return -EAFNOSUPPORT;
if (sock->type != SOCK_SEQPACKET || protocol != 0)