From 31c1955d130410a2a435a8c2c8d6497606802dd6 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 13 Sep 2018 22:57:49 +0300 Subject: [PATCH] inet: raw -- Prepare gen_uncon_sk for raw sockets Signed-off-by: Cyrill Gorcunov Signed-off-by: Andrei Vagin --- criu/sk-inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/sk-inet.c b/criu/sk-inet.c index e43e13b7c..e41e2bbd9 100644 --- a/criu/sk-inet.c +++ b/criu/sk-inet.c @@ -271,7 +271,7 @@ static struct inet_sk_desc *gen_uncon_sk(int lfd, const struct fd_parms *p, sk->sd.ino = p->stat.st_ino; - if (proto == IPPROTO_TCP) { + if (type != SOCK_RAW && proto == IPPROTO_TCP) { struct { __u8 tcpi_state; __u8 tcpi_ca_state;