Commit ff83500f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

sockets: sockest: Show collected socket once they get hashed

Otherwise debug printing has no inode number in report.
Not really it's that important but very convenient
if you need detailed output.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9b2e1913
......@@ -444,9 +444,10 @@ static int unix_collect_one(struct unix_diag_msg *m, struct rtattr **tb)
d->wqlen = rq->udiag_wqueue;
}
sk_collect_one(m->udiag_ino, AF_UNIX, &d->sd);
show_one_unix("Collected", d);
return sk_collect_one(m->udiag_ino, AF_UNIX, &d->sd);
return 0;
err:
xfree(d->icons);
......
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