Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipvs: SH scheduler does not need GFP_ATOMIC allocation

Schedulers are initialized and bound to services only
on commands.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>

authored by

Julian Anastasov and committed by
Pablo Neira Ayuso
d6318f08 45d4e71a

+1 -1
+1 -1
net/netfilter/ipvs/ip_vs_sh.c
··· 162 162 163 163 /* allocate the SH table for this service */ 164 164 tbl = kmalloc(sizeof(struct ip_vs_sh_bucket)*IP_VS_SH_TAB_SIZE, 165 - GFP_ATOMIC); 165 + GFP_KERNEL); 166 166 if (tbl == NULL) 167 167 return -ENOMEM; 168 168