inet_diag: allow sk_diag_fill() to handle request socks
authorEric Dumazet <edumazet@google.com>
Mon, 16 Mar 2015 04:12:14 +0000 (21:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 19:55:29 +0000 (15:55 -0400)
commita58917f584e776b9fe31ef2a8bf617f253378dc0
treea7badd202ec61cfd201c6e5fda87295932bc2770
parentf7e4eb03f9d9e2522bdd5107f37f9cf1af0bf0fa
inet_diag: allow sk_diag_fill() to handle request socks

inet_diag_fill_req() is renamed to inet_req_diag_fill()
and moved up, so that it can be called fom sk_diag_fill()

inet_diag_bc_sk() is ready to handle request socks.

inet_twsk_diag_dump() is no longer needed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c