summaryrefslogtreecommitdiffstats
path: root/include/linux/inet_diag.h
diff options
context:
space:
mode:
authorPavel Emelyanov2011-12-09 07:21:16 +0100
committerDavid S. Miller2011-12-09 20:14:07 +0100
commit7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5 (patch)
tree068ff7b5ba08d957978a63fedad6c2d86af48ed2 /include/linux/inet_diag.h
parentsch_red: generalize accurate MAX_P support to RED/GRED/CHOKE (diff)
downloadkernel-qcow2-linux-7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5.tar.gz
kernel-qcow2-linux-7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5.tar.xz
kernel-qcow2-linux-7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5.zip
inet_diag: Remove indirect sizeof from inet diag handlers
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>
Diffstat (limited to 'include/linux/inet_diag.h')
-rw-r--r--include/linux/inet_diag.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h
index defe8ff36df8..851feff0747f 100644
--- a/include/linux/inet_diag.h
+++ b/include/linux/inet_diag.h
@@ -141,7 +141,6 @@ struct inet_diag_handler {
void (*idiag_get_info)(struct sock *sk,
struct inet_diag_msg *r,
void *info);
- __u16 idiag_info_size;
__u16 idiag_type;
};