projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4981682
)
ipvs: timeout tables do not need GFP_ATOMIC allocation
author
Julian Anastasov
<ja@ssi.bg>
Fri, 13 Apr 2012 13:49:37 +0000
(16:49 +0300)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Tue, 8 May 2012 17:37:09 +0000
(19:37 +0200)
They are called only on initialization.
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_proto.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_proto.c
b/net/netfilter/ipvs/ip_vs_proto.c
index fdc82ad9cc0e402b7f793775baa2d44160c6fca6..ca16476180819bcf9e6560287f93544e72922076 100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_proto.c
+++ b/
net/netfilter/ipvs/ip_vs_proto.c
@@
-199,7
+199,7
@@
void ip_vs_protocol_timeout_change(struct netns_ipvs *ipvs, int flags)
int *
ip_vs_create_timeout_table(int *table, int size)
{
- return kmemdup(table, size, GFP_
ATOMIC
);
+ return kmemdup(table, size, GFP_
KERNEL
);
}