From: Eric Dumazet Date: Tue, 18 Dec 2007 06:45:28 +0000 (-0800) Subject: [NETFILTER]: xt_hashlimit: reduce overhead without IPv6 X-Git-Tag: v2.6.25-rc1~1162^2~992 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b21e09d1c17ef0296ec5a6df231a6c5c87b2fd7;p=pandora-kernel.git [NETFILTER]: xt_hashlimit: reduce overhead without IPv6 This patch generalizes the (CONFIG_IP6_NF_IPTABLES || CONFIG_IP6_NF_IPTABLES_MODULE) test done in hashlimit_init_dst() to all the xt_hashlimit module. This permits a size reduction of "struct dsthash_dst". This saves memory and cpu for IPV4 only hosts. Signed-off-by: Eric Dumazet Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed