ipvs: timeout tables do not need GFP_ATOMIC allocation
authorJulian Anastasov <ja@ssi.bg>
Fri, 13 Apr 2012 13:49:37 +0000 (16:49 +0300)
committerPablo 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

index fdc82ad9cc0e402b7f793775baa2d44160c6fca6..ca16476180819bcf9e6560287f93544e72922076 100644 (file)
@@ -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);
 }