diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-05 10:18:14 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-05 22:55:44 -0500 |
commit | 496127290f298d839918a14728b653b43ef02708 (patch) | |
tree | cd91bdd93132621aacb7a98770753b0689db9dda /net/dsa | |
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>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions