mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
socket: Don't request extensions from inet diag
This eats response skb mem, but we don't need it. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
381559a7f6
commit
2a76c6409c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user