[CRIU] [PATCH 1/2] unix: SOCK_SEQPACKET

Ruslan Kuprieiev kupruser at gmail.com
Mon Sep 30 04:33:37 PDT 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>

-------------- next part --------------
---
diff --git a/sk-unix.c b/sk-unix.c
index 0b60ffd..902d3d4 100644
--- a/sk-unix.c
+++ b/sk-unix.c
@@ -102,8 +102,8 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
 	 */
 	if (sk->type != SOCK_STREAM &&
 	    sk->type != SOCK_DGRAM &&
-	    !service_socket(sk->peer_ino)) {
-		pr_err("Only stream/dgram sockets for now\n");
+	    sk->type != SOCK_SEQPACKET) {
+		pr_err("Only stream/dgram/seqpacket sockets for now\n");
 		return 0;
 	}
 


More information about the CRIU mailing list