aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irlmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/irlmp.c')
-rw-r--r--net/irda/irlmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/irlmp.c b/net/irda/irlmp.c
index 129ad64c15bb..5ee79462b30a 100644
--- a/net/irda/irlmp.c
+++ b/net/irda/irlmp.c
@@ -395,7 +395,7 @@ int irlmp_connect_request(struct lsap_cb *self, __u8 dlsap_sel,
395 395
396 /* Any userdata? */ 396 /* Any userdata? */
397 if (tx_skb == NULL) { 397 if (tx_skb == NULL) {
398 tx_skb = dev_alloc_skb(64); 398 tx_skb = alloc_skb(64, GFP_ATOMIC);
399 if (!tx_skb) 399 if (!tx_skb)
400 return -ENOMEM; 400 return -ENOMEM;
401 401