inet_diag: Remove indirect sizeof from inet diag handlers
authorPavel Emelyanov <xemul@parallels.com>
Fri, 9 Dec 2011 06:21:16 +0000 (06:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 19:14:07 +0000 (14:14 -0500)
There's an info_size value stored on inet_diag_handler, but for existing
code this value is effectively constant, so just use sizeof(struct tcp_info)
where required.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found