From: Julian Anastasov Date: Fri, 13 Apr 2012 13:49:37 +0000 (+0300) Subject: ipvs: timeout tables do not need GFP_ATOMIC allocation X-Git-Tag: v3.5-rc1~109^2~140^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41cff6d5c924eb51704dd6928687fd0494e6c744;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ipvs: timeout tables do not need GFP_ATOMIC allocation They are called only on initialization. Signed-off-by: Julian Anastasov Signed-off-by: Hans Schillstrom Signed-off-by: Simon Horman --- diff --git a/net/netfilter/ipvs/ip_vs_proto.c b/net/netfilter/ipvs/ip_vs_proto.c index fdc82ad..ca16476 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) int * ip_vs_create_timeout_table(int *table, int size) { - return kmemdup(table, size, GFP_ATOMIC); + return kmemdup(table, size, GFP_KERNEL); }