diff options
author | 2015-03-05 10:18:14 -0800 | |
---|---|---|
committer | 2015-03-05 22:55:44 -0500 | |
commit | 496127290f298d839918a14728b653b43ef02708 (patch) | |
tree | cd91bdd93132621aacb7a98770753b0689db9dda /net/switchdev/switchdev.c | |
parent | i40e: Fix mismatching type for ioremap_len (diff) | |
download | linux-dev-496127290f298d839918a14728b653b43ef02708.tar.xz linux-dev-496127290f298d839918a14728b653b43ef02708.zip |
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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions