projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use net_eq to compare nets
[linux-2.6-microblaze.git]
/
net
/
atm
/
svc.c
diff --git
a/net/atm/svc.c
b/net/atm/svc.c
index
c739507
..
66e1d9b
100644
(file)
--- a/
net/atm/svc.c
+++ b/
net/atm/svc.c
@@
-655,7
+655,7
@@
static int svc_create(struct net *net, struct socket *sock, int protocol,
{
int error;
- if (
net != &init_net
)
+ if (
!net_eq(net, &init_net)
)
return -EAFNOSUPPORT;
sock->ops = &svc_proto_ops;