From: Eric Dumazet Date: Wed, 2 Oct 2013 11:29:50 +0000 (-0700) Subject: inet: consolidate INET_TW_MATCH X-Git-Tag: v3.13-rc1~105^2~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5080546682bae3d32734b18e281091684f0ebbe4;p=pandora-kernel.git inet: consolidate INET_TW_MATCH TCP listener refactoring, part 2 : We can use a generic lookup, sockets being in whatever state, if we are sure all relevant fields are at the same place in all socket types (ESTABLISH, TIME_WAIT, SYN_RECV) This patch removes these macros : inet_addrpair, inet_addrpair, tw_addrpair, tw_portpair And adds : sk_portpair, sk_addrpair, sk_daddr, sk_rcv_saddr Then, INET_TW_MATCH() is really the same than INET_MATCH() Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed