Commit 1a1979cc authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

sockets: Show backlog length in "show" procedure

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 196ce521
...@@ -693,8 +693,8 @@ void show_unixsk(char *name, int fd, bool show_header) ...@@ -693,8 +693,8 @@ void show_unixsk(char *name, int fd, bool show_header)
if (!ret) if (!ret)
goto out; goto out;
pr_info("fd %4d type %2d state %2d namelen %4d id %6d peer %6d", pr_info("fd %4d type %2d state %2d namelen %4d backlog %4d id %6d peer %6d",
ue.fd, ue.type, ue.state, ue.namelen, ue.id, ue.peer); ue.fd, ue.type, ue.state, ue.namelen, ue.namelen, ue.id, ue.peer);
if (ue.namelen) { if (ue.namelen) {
ret = read_safe_eof(fd, buf, ue.namelen, out); ret = read_safe_eof(fd, buf, ue.namelen, out);
......
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