commit | 496127290f298d839918a14728b653b43ef02708 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Mar 05 10:18:14 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 05 22:55:44 2015 -0500 |
tree | cd91bdd93132621aacb7a98770753b0689db9dda | |
parent | e815665e1a8ca1525900377f74021c8cac390e8d [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>