diff options
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/af_irda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index e493b3397ae3..1c2dc90fbaaf 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -1120,7 +1120,7 @@ static int irda_create(struct net *net, struct socket *sock, int protocol, | |||
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | /* Allocate networking socket */ | 1122 | /* Allocate networking socket */ |
1123 | sk = sk_alloc(net, PF_IRDA, GFP_ATOMIC, &irda_proto); | 1123 | sk = sk_alloc(net, PF_IRDA, GFP_KERNEL, &irda_proto); |
1124 | if (sk == NULL) | 1124 | if (sk == NULL) |
1125 | return -ENOMEM; | 1125 | return -ENOMEM; |
1126 | 1126 | ||