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 7c0b5151d526..e0d37d6dc1f8 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1044,7 +1044,7 @@ static int atalk_create(struct net *net, struct socket *sock, int protocol) | |||
1044 | if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) | 1044 | if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM) |
1045 | goto out; | 1045 | goto out; |
1046 | rc = -ENOMEM; | 1046 | rc = -ENOMEM; |
1047 | sk = sk_alloc(net, PF_APPLETALK, GFP_KERNEL, &ddp_proto, 1); | 1047 | sk = sk_alloc(net, PF_APPLETALK, GFP_KERNEL, &ddp_proto); |
1048 | if (!sk) | 1048 | if (!sk) |
1049 | goto out; | 1049 | goto out; |
1050 | rc = 0; | 1050 | rc = 0; |