diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-04-13 09:49:40 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-08 13:37:17 -0400 |
commit | 748d845ca9cf0e7c7692ec45e4d8cb3a90b31793 (patch) | |
tree | e2f44e8b4723796e6d01b1a7aed0a8f9b8d17a5e | |
parent | 41cff6d5c924eb51704dd6928687fd0494e6c744 (diff) |
ipvs: LBLC 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>
-rw-r--r-- | net/netfilter/ipvs/ip_vs_lblc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_lblc.c b/net/netfilter/ipvs/ip_vs_lblc.c index 9b0de9a0e08e..df646ccf08a7 100644 --- a/net/netfilter/ipvs/ip_vs_lblc.c +++ b/net/netfilter/ipvs/ip_vs_lblc.c | |||
@@ -342,7 +342,7 @@ static int ip_vs_lblc_init_svc(struct ip_vs_service *svc) | |||
342 | /* | 342 | /* |
343 | * Allocate the ip_vs_lblc_table for this service | 343 | * Allocate the ip_vs_lblc_table for this service |
344 | */ | 344 | */ |
345 | tbl = kmalloc(sizeof(*tbl), GFP_ATOMIC); | 345 | tbl = kmalloc(sizeof(*tbl), GFP_KERNEL); |
346 | if (tbl == NULL) | 346 | if (tbl == NULL) |
347 | return -ENOMEM; | 347 | return -ENOMEM; |
348 | 348 | ||