sock_diag: specify info_size per inet protocol
authorCraig Gallek <kraig@google.com>
Mon, 15 Jun 2015 15:26:19 +0000 (11:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jun 2015 02:49:22 +0000 (19:49 -0700)
Previously, there was no clear distinction between the inet protocols
that used struct tcp_info to report information and those that didn't.
This change adds a specific size attribute to the inet_diag_handler
struct which defines these interfaces.  This will make dispatching
sock_diag get_info requests identical for all inet protocols in a
following patch.

Tested: ss -au
Tested: ss -at
Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found