[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090324.142557.198996961.davem@davemloft.net>
Date: Tue, 24 Mar 2009 14:25:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jengelh@...ozas.de
Cc: dada1@...mosbay.com, kaber@...sh.net, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: netfilter 07/41: arp_tables: unfold two critical loops in
arp_packet_match()
From: Jan Engelhardt <jengelh@...ozas.de>
Date: Tue, 24 Mar 2009 22:23:23 +0100 (CET)
> Is the cost of testing for non-4-divisibility expensive enough
> to warrant not usnig memcmp?
I think so. This is the fast path of these things.
> Irrespective of all that, I think putting the interface comparison
> code should be agglomerated in a function/header so that it is
> replicated across iptables, ip6tables, ebtables, arptables, etc.
Agreed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists