From: Eric Dumazet Date: Fri, 21 Nov 2008 23:49:19 +0000 (-0800) Subject: net: use net_eq() in INET_MATCH and INET_TW_MATCH X-Git-Tag: v2.6.29-rc1~581^2~597 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f757fec4b0d45dfcb52f9a914a12225a6a0a3e05;p=pandora-kernel.git net: use net_eq() in INET_MATCH and INET_TW_MATCH We can avoid some useless instructions if !CONFIG_NET_NS Because of RCU, we use INET_MATCH or INET_TW_MATCH twice for the found socket, so thats six instructions less per incoming TCP packet. Yet another tbench speedup :) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed