mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 07:45:17 +00:00
sockets: Allow to dump dgram sockets
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
@@ -91,12 +91,9 @@ static void show_one_unix_img(char *act, struct unix_sk_entry *e)
|
|||||||
|
|
||||||
static int can_dump_unix_sk(struct unix_sk_desc *sk)
|
static int can_dump_unix_sk(struct unix_sk_desc *sk)
|
||||||
{
|
{
|
||||||
if (sk->type != SOCK_STREAM) {
|
if (sk->type != SOCK_STREAM &&
|
||||||
/*
|
sk->type != SOCK_DGRAM) {
|
||||||
* Dgram sockets connect and accept jobs at
|
pr_err("Only stream/dgram sockets for now\n");
|
||||||
* restore time should be fixed
|
|
||||||
*/
|
|
||||||
pr_err("Only stream sockets for now\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user