mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 00:35:23 +00:00
packet: Rings support
There's no way (currently) to check that the ring got restored. Will do it once we implement mapping of a packet socket and tcpdump app test. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -274,7 +274,7 @@ int collect_sockets(int pid)
|
||||
req.r.p.sdiag_family = AF_PACKET;
|
||||
req.r.p.sdiag_protocol = 0;
|
||||
req.r.p.pdiag_show = PACKET_SHOW_INFO | PACKET_SHOW_MCLIST |
|
||||
PACKET_SHOW_FANOUT;
|
||||
PACKET_SHOW_FANOUT | PACKET_SHOW_RING_CFG;
|
||||
tmp = do_rtnl_req(nl, &req, sizeof(req), packet_receive_one, NULL);
|
||||
if (tmp)
|
||||
err = tmp;
|
||||
|
Reference in New Issue
Block a user