From: Holger Eitzenberger Date: Thu, 26 Mar 2009 12:37:14 +0000 (+0100) Subject: ctnetlink: compute generic part of event more acurately X-Git-Tag: v2.6.30-rc1~642^2~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d271e8bd8c60ce059ee36d836ba063cfc61c3e21;p=pandora-kernel.git ctnetlink: compute generic part of event more acurately On a box with most of the optional Netfilter switches turned off some of the NLAs are never send, e. g. secmark, mark or the conntrack byte/packet counters. As a worst case scenario this may possibly still lead to ctnetlink skbs being reallocated in netlink_trim() later, loosing all the nice effects from the previous patches. I try to solve that (at least partly) by correctly #ifdef'ing the NLAs in the computation. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed