diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-04-13 09:49:37 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-08 13:37:09 -0400 |
commit | 41cff6d5c924eb51704dd6928687fd0494e6c744 (patch) | |
tree | c831254ddaaaa4c644dc6e5bc4ef0a67d96d30bd | |
parent | 4981682cc19733f3ca43d3abd81dd4adbc9005d5 (diff) |
ipvs: timeout tables do not need GFP_ATOMIC allocation
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>
-rw-r--r-- | net/netfilter/ipvs/ip_vs_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto.c b/net/netfilter/ipvs/ip_vs_proto.c index fdc82ad9cc0e..ca1647618081 100644 --- 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) | |||
199 | int * | 199 | int * |
200 | ip_vs_create_timeout_table(int *table, int size) | 200 | ip_vs_create_timeout_table(int *table, int size) |
201 | { | 201 | { |
202 | return kmemdup(table, size, GFP_ATOMIC); | 202 | return kmemdup(table, size, GFP_KERNEL); |
203 | } | 203 | } |
204 | 204 | ||
205 | 205 | ||