2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

unix: SOCK_SEQPACKET

Everything in the sk-unix.c is ready for seq-packet sockets.

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Ruslan Kuprieiev
2013-09-30 18:44:57 +04:00
committed by Pavel Emelyanov
parent d135ad3538
commit 3f1aeb2c86

View File

@@ -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;
}