[INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Mon, 9 Jan 2006 22:56:03 +0000 (14:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2006 22:56:03 +0000 (14:56 -0800)
commit7dbf0755249336f44f57368bdbf6f84103b3ba75
tree66a26e93432c38ccb64092b4e2be1d868df68e45
parenta2c2064f7f23fde23e34fb5d07de43b582966b71
[INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets

The fields being accessed in inet_diag_dump are outside sock_common, the
common part of struct sock and struct inet_timewait_sock.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c