From: Eric Dumazet Date: Thu, 5 Mar 2015 18:18:14 +0000 (-0800) Subject: inet_diag: remove duplicate code from inet_twsk_diag_dump() X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~332 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496127290f298d839918a14728b653b43ef02708;p=pandora-kernel.git inet_diag: remove duplicate code from inet_twsk_diag_dump() timewait sockets now share a common base with established sockets. inet_twsk_diag_dump() can use inet_diag_bc_sk() instead of duplicating code, granted that inet_diag_bc_sk() does proper userlocks initialization. twsk_build_assert() will catch any future changes that could break the assumptions. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed