netfilter: nf_conntrack: add allocation flag to nf_conntrack_alloc
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 Jul 2008 09:35:55 +0000 (02:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 09:35:55 +0000 (02:35 -0700)
commitb891c5a831b13f74989dcbd7b39d04537b2a05d9
treeb2bc084458948473e31be39edfbc494325f95176
parentb11c16beb92112885edccc79e17d39c5d218f441
netfilter: nf_conntrack: add allocation flag to nf_conntrack_alloc

ctnetlink does not need to allocate the conntrack entries with GFP_ATOMIC
as its code is executed in user context.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_netlink.c