Commit 3f1aeb2c authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

unix: SOCK_SEQPACKET

Everything in the sk-unix.c is ready for seq-packet sockets.
Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d135ad35
...@@ -102,8 +102,8 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk) ...@@ -102,8 +102,8 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
*/ */
if (sk->type != SOCK_STREAM && if (sk->type != SOCK_STREAM &&
sk->type != SOCK_DGRAM && sk->type != SOCK_DGRAM &&
!service_socket(sk->peer_ino)) { sk->type != SOCK_SEQPACKET) {
pr_err("Only stream/dgram sockets for now\n"); pr_err("Only stream/dgram/seqpacket sockets for now\n");
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment