From: Krishna Kumar Date: Thu, 19 Feb 2009 01:55:02 +0000 (-0800) Subject: net: Optimize skb_tx_hash() by eliminating a comparison X-Git-Tag: v2.6.30-rc1~662^2~617 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88721f87d8caa679e62d6004a9a5661f1ac7b0e;p=pandora-kernel.git net: Optimize skb_tx_hash() by eliminating a comparison Optimize skb_tx_hash() by eliminating a comparison that executes for every packet. skb_tx_hashrnd initialization is moved to a later part of the startup sequence, namely after the "random" driver is initialized. Rebooted the system three times and verified that the code generates different random numbers each time. Signed-off-by: Krishna Kumar Signed-off-by: David S. Miller --- Reading git-diff-tree failed