diff options
Diffstat (limited to 'net/atm/svc.c')
-rw-r--r-- | net/atm/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/svc.c b/net/atm/svc.c index c7395070ee78..66e1d9b3e5de 100644 --- 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, | |||
655 | { | 655 | { |
656 | int error; | 656 | int error; |
657 | 657 | ||
658 | if (net != &init_net) | 658 | if (!net_eq(net, &init_net)) |
659 | return -EAFNOSUPPORT; | 659 | return -EAFNOSUPPORT; |
660 | 660 | ||
661 | sock->ops = &svc_proto_ops; | 661 | sock->ops = &svc_proto_ops; |