]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/netfilter/ipvs/ip_vs_ctl.c
ipvs: switch to GFP_KERNEL allocations
authorSimon Horman <horms@verge.net.au>
Thu, 26 Aug 2010 02:54:31 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2010 20:21:29 +0000 (13:21 -0700)
commitdee06e4702b5a64b9ca81e650d66223c5b3e7f14
tree7748101b41c6a0200f12eac632691c0bd35cb61b
parent4f72816ef07fdf49338ee0e6764a3961d552994a
ipvs: switch to GFP_KERNEL allocations

Switch from GFP_ATOMIC allocations to GFP_KERNEL ones in
ip_vs_add_service() and ip_vs_new_dest(), as we hold a mutex and are
allowed to sleep in this context.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/ipvs/ip_vs_ctl.c