diff options
Diffstat (limited to 'net/appletalk')
-rw-r--r-- | net/appletalk/ddp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index 73ca4d524928..9fc4da56fb1d 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1023,7 +1023,7 @@ static int atalk_create(struct net *net, struct socket *sock, int protocol, | |||
1023 | struct sock *sk; | 1023 | struct sock *sk; |
1024 | int rc = -ESOCKTNOSUPPORT; | 1024 | int rc = -ESOCKTNOSUPPORT; |
1025 | 1025 | ||
1026 | if (net != &init_net) | 1026 | if (!net_eq(net, &init_net)) |
1027 | return -EAFNOSUPPORT; | 1027 | return -EAFNOSUPPORT; |
1028 | 1028 | ||
1029 | /* | 1029 | /* |