projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4beddbe
)
ipvs: WRR scheduler does not need GFP_ATOMIC allocation
author
Julian Anastasov
<ja@ssi.bg>
Fri, 13 Apr 2012 13:49:42 +0000
(16:49 +0300)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Tue, 8 May 2012 17:37:22 +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_wrr.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_wrr.c
b/net/netfilter/ipvs/ip_vs_wrr.c
index fd0d4e09876a6177d167af378ef503f6ca64d6a8..231be7dd547a9cd5fdf1a7742305b85717e99aab 100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_wrr.c
+++ b/
net/netfilter/ipvs/ip_vs_wrr.c
@@
-84,7
+84,7
@@
static int ip_vs_wrr_init_svc(struct ip_vs_service *svc)
/*
* Allocate the mark variable for WRR scheduling
*/
- mark = kmalloc(sizeof(struct ip_vs_wrr_mark), GFP_
ATOMIC
);
+ mark = kmalloc(sizeof(struct ip_vs_wrr_mark), GFP_
KERNEL
);
if (mark == NULL)
return -ENOMEM;