]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: ctnetlink: sleepable allocation with spin lock bh
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Aug 2008 04:31:46 +0000 (21:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2008 04:31:46 +0000 (21:31 -0700)
commitfab00c5d15091546be681426c60b2ed2c10513bf
treeb2b2933ae23fdc33410b48f00c0b7a5f6fc76bad
parentcb1cb5c47457ff2b604dac2da44cab4d39d11459
netfilter: ctnetlink: sleepable allocation with spin lock bh

This patch removes a GFP_KERNEL allocation while holding a spin lock with
bottom halves disabled in ctnetlink_change_helper().

This problem was introduced in 2.6.23 with the netfilter extension
infrastructure.

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