Commit 09dd54c8 authored by Samuel Jean's avatar Samuel Jean Committed by Patrick McHardy

[NETFILTER]: Use GFP_ATOMIC in ipt_hashlimit

Signed-off-by: default avatarSamuel Jean <sjean@cookinglinux.org>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent c4acad8d
...@@ -570,7 +570,7 @@ static void *dl_seq_start(struct seq_file *s, loff_t *pos) ...@@ -570,7 +570,7 @@ static void *dl_seq_start(struct seq_file *s, loff_t *pos)
if (*pos >= htable->cfg.size) if (*pos >= htable->cfg.size)
return NULL; return NULL;
bucket = kmalloc(sizeof(unsigned int), GFP_KERNEL); bucket = kmalloc(sizeof(unsigned int), GFP_ATOMIC);
if (!bucket) if (!bucket)
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment