summaryrefslogtreecommitdiffstats
path: root/kernel/net/appletalk
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/appletalk')
-rw-r--r--kernel/net/appletalk/ddp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/appletalk/ddp.c b/kernel/net/appletalk/ddp.c
index 3b7ad43c7..d5871ac49 100644
--- a/kernel/net/appletalk/ddp.c
+++ b/kernel/net/appletalk/ddp.c
@@ -1030,7 +1030,7 @@ static int atalk_create(struct net *net, struct socket *sock, int protocol,
if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM)
goto out;
rc = -ENOMEM;
- sk = sk_alloc(net, PF_APPLETALK, GFP_KERNEL, &ddp_proto);
+ sk = sk_alloc(net, PF_APPLETALK, GFP_KERNEL, &ddp_proto, kern);
if (!sk)
goto out;
rc = 0;