mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
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>
This commit is contained in:
parent
4981682cc1
commit
41cff6d5c9
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user