Home
last modified time | relevance | path

Searched hist:"496127290 f298d839918a14728b653b43ef02708" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dinet_diag.cdiff 496127290f298d839918a14728b653b43ef02708 Thu Mar 05 12:18:14 CST 2015 Eric Dumazet <edumazet@google.com> 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>