Commit 4184d2f6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

sockets: Rename struct inet_diag_req to inet_diag_req_v2

There was API change in linux kernel 3.2 -> 3.3 transition

 | commit c8991362a0d3cf317dfbfb6cb946607870654e6d
Reported-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 48f624ee
......@@ -34,7 +34,7 @@ struct inet_diag_req_compat {
__u32 idiag_dbs; /* Tables to dump (NI) */
};
struct inet_diag_req {
struct inet_diag_req_v2 {
__u8 sdiag_family;
__u8 sdiag_protocol;
__u8 idiag_ext;
......
......@@ -533,7 +533,7 @@ int collect_sockets(void)
struct nlmsghdr hdr;
union {
struct unix_diag_req u;
struct inet_diag_req i;
struct inet_diag_req_v2 i;
} r;
} req;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment