projects
/
platform
/
upstream
/
kernel-adaptation-pc.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
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_proto.c
b/net/netfilter/ipvs/ip_vs_proto.c
index
fdc82ad
..
ca16476
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
);
}