Commit 054bf4ad authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

sockets: Allow to dump dgram sockets

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 04ec43a5
...@@ -91,12 +91,9 @@ static void show_one_unix_img(char *act, struct unix_sk_entry *e) ...@@ -91,12 +91,9 @@ static void show_one_unix_img(char *act, struct unix_sk_entry *e)
static int can_dump_unix_sk(struct unix_sk_desc *sk) static int can_dump_unix_sk(struct unix_sk_desc *sk)
{ {
if (sk->type != SOCK_STREAM) { if (sk->type != SOCK_STREAM &&
/* sk->type != SOCK_DGRAM) {
* Dgram sockets connect and accept jobs at pr_err("Only stream/dgram sockets for now\n");
* restore time should be fixed
*/
pr_err("Only stream 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