Commit 2a76c640 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Cyrill Gorcunov

socket: Don't request extensions from inet diag

This eats response skb mem, but we don't need it.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 381559a7
......@@ -562,7 +562,7 @@ int collect_sockets(void)
/* Collect IPv4 TCP sockets */
req.r.i.sdiag_family = AF_INET;
req.r.i.sdiag_protocol = IPPROTO_TCP;
req.r.i.idiag_ext = 1 << (INET_DIAG_INFO - 1);
req.r.i.idiag_ext = 0;
/* Only listening sockets supported yet */
req.r.i.idiag_states = 1 << TCP_LISTEN;
tmp = collect_sockets_nl(nl, &req, sizeof(req), inet_tcp_receive_one);
......
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