From: Pablo Neira Ayuso Date: Wed, 3 Jun 2009 08:32:06 +0000 (+0200) Subject: netfilter: conntrack: replace notify chain by function pointer X-Git-Tag: v2.6.31-rc1~330^2~32^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34d5c1a4f9919a81b4ea4591d7383245f35cb8e;p=pandora-kernel.git netfilter: conntrack: replace notify chain by function pointer This patch removes the notify chain infrastructure and replace it by a simple function pointer. This issue has been mentioned in the mailing list several times: the use of the notify chain adds too much overhead for something that is only used by ctnetlink. This patch also changes nfnetlink_send(). It seems that gfp_any() returns GFP_KERNEL for user-context request, like those via ctnetlink, inside the RCU read-side section which is not valid. Using GFP_KERNEL is also evil since netlink may schedule(), this leads to "scheduling while atomic" bug reports. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed