projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2a94d
)
ipvs: LBLCR scheduler does not need GFP_ATOMIC allocation on init
author
Julian Anastasov
<ja@ssi.bg>
Fri, 13 Apr 2012 13:49:41 +0000
(16:49 +0300)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Tue, 8 May 2012 17:37:26 +0000
(19:37 +0200)
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>
net/netfilter/ipvs/ip_vs_lblcr.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_lblcr.c
b/net/netfilter/ipvs/ip_vs_lblcr.c
index
9dcd39a
..
570e31e
100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_lblcr.c
+++ b/
net/netfilter/ipvs/ip_vs_lblcr.c
@@
-511,7
+511,7
@@
static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc)
/*
* Allocate the ip_vs_lblcr_table for this service
*/
- tbl = kmalloc(sizeof(*tbl), GFP_
ATOMIC
);
+ tbl = kmalloc(sizeof(*tbl), GFP_
KERNEL
);
if (tbl == NULL)
return -ENOMEM;