netfilter: ctnetlink: fix sleep in read-side lock section
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Aug 2008 04:31:24 +0000 (21:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2008 04:31:24 +0000 (21:31 -0700)
commitcb1cb5c47457ff2b604dac2da44cab4d39d11459
tree3bd23533d093a73d69c748c97486b292786fbc57
parent1575e7ea018fec992b94a12a1a491ce693ae9eac
netfilter: ctnetlink: fix sleep in read-side lock section

Fix allocation with GFP_KERNEL in ctnetlink_create_conntrack() under
read-side lock sections.

This problem was introduced in 2.6.25.

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>
net/netfilter/nf_conntrack_netlink.c