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

ipvs: LBLCR scheduler does not need GFP_ATOMIC allocation on init

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
45d4e71a 4f2a94dc

+1 -1
+1 -1
net/netfilter/ipvs/ip_vs_lblcr.c
··· 511 511 /* 512 512 * Allocate the ip_vs_lblcr_table for this service 513 513 */ 514 - tbl = kmalloc(sizeof(*tbl), GFP_ATOMIC); 514 + tbl = kmalloc(sizeof(*tbl), GFP_KERNEL); 515 515 if (tbl == NULL) 516 516 return -ENOMEM; 517 517