Re: [NETFILTER] xt_hashlimit : Can generate better code if only IPV4 needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Dec 2007 13:25:41 +0100
Patrick McHardy <kaber@xxxxxxxxx> wrote:

> Eric Dumazet wrote:
> > 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.
> 
> 
> Applied, thanks. I didn't really like the IFIPV6 macro though, so
> I replaced it by open coded #ifdefs and removed the ones for
> procdir selection since without ip6_tables we'll never have
> family != AF_INET anyway.
> 

Thanks Patrick
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux