[CRIU] [PATCH 09/15] inet: raw -- Add preloading raw_diag module

Cyrill Gorcunov gorcunov at gmail.com
Thu Sep 13 22:57:52 MSK 2018


Just like we do for other protocols.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/sockets.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/criu/sockets.c b/criu/sockets.c
index bd4e1a967a51..e5b31175264b 100644
--- a/criu/sockets.c
+++ b/criu/sockets.c
@@ -255,6 +255,9 @@ void preload_socket_modules(void)
 	req.r.i.sdiag_protocol = IPPROTO_UDP; /* UDLITE is merged with UDP */
 	probe_diag(nl, &req, -ENOENT);
 
+	req.r.i.sdiag_protocol = IPPROTO_RAW;
+	probe_diag(nl, &req, -ENOENT);
+
 	close(nl);
 	pr_info("Done probing\n");
 }
-- 
2.17.1



More information about the CRIU mailing list