# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/02/01 15:08:47+01:00 sjean@cookinglinux.org # [NETFILTER]: Use GFP_ATOMIC in ipt_hashlimit # # Signed-off-by: Samuel Jean # Signed-off-by: Patrick McHardy # # net/ipv4/netfilter/ipt_hashlimit.c # 2005/02/01 15:08:39+01:00 sjean@cookinglinux.org +1 -1 # [NETFILTER]: Use GFP_ATOMIC in ipt_hashlimit # # Signed-off-by: Samuel Jean # Signed-off-by: Patrick McHardy # diff -Nru a/net/ipv4/netfilter/ipt_hashlimit.c b/net/ipv4/netfilter/ipt_hashlimit.c --- a/net/ipv4/netfilter/ipt_hashlimit.c 2005-02-03 20:43:16 +01:00 +++ b/net/ipv4/netfilter/ipt_hashlimit.c 2005-02-03 20:43:16 +01:00 @@ -570,7 +570,7 @@ if (*pos >= htable->cfg.size) return NULL; - bucket = kmalloc(sizeof(unsigned int), GFP_KERNEL); + bucket = kmalloc(sizeof(unsigned int), GFP_ATOMIC); if (!bucket) return ERR_PTR(-ENOMEM);