]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: use GFP_KERNEL allocation where possible
authorSasha Levin <levinsasha928@gmail.com>
Sat, 14 Apr 2012 16:37:47 +0000 (12:37 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2012 17:38:22 +0000 (19:38 +0200)
commit5797b1011d3417a8bf6e2152dc7d4953be1b3195
tree19a820b7b361647b1e24ed590f49c02d639e6b95
parentca5eb750b5fe6c2851bf9c33f7be3416f6bd91a1
ipvs: use GFP_KERNEL allocation where possible

Use GFP_KERNEL instead of GFP_ATOMIC when registering an ipvs protocol.

This is safe since it will always run from a process context.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_proto.c