[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071017.194410.102574145.davem@davemloft.net>
Date: Wed, 17 Oct 2007 19:44:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH 1/7] Omit double hash calculations in xxx_frag_intern
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Tue, 16 Oct 2007 17:48:46 +0400
> Since the hash value is already calculated in xxx_find, we can
> simply use it later. This is already done in netfilter code,
> so make the same in ipv4 and ipv6.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
Applied, but if we ever implement dynamically sized frag
queue hash tables, this recomputation of the hash function
in the hash insert function would need to be re-added.
-
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