summaryrefslogtreecommitdiffstats
path: root/quicktun.c
diff options
context:
space:
mode:
Diffstat (limited to 'quicktun.c')
-rw-r--r--quicktun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quicktun.c b/quicktun.c
index c44b2f1..3f52762 100644
--- a/quicktun.c
+++ b/quicktun.c
@@ -203,7 +203,7 @@ static void quicktun_udp_data_ready(struct sock *sk, int bytes)
rcu_read_unlock();
if (ACCESS_ONCE(tun->flags) & QUICKTUN_FLAG_REMOTE_FLOAT) {
- struct addr_struct *addr = kmalloc(sizeof(struct addr_struct), GFP_KERNEL);
+ struct addr_struct *addr = kmalloc(sizeof(struct addr_struct), GFP_ATOMIC);
if (!addr)
goto drop;