mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-03 23:33:01 +00:00
sk-unix: Log both peer names when failing on an external stream unix socket.
Make debugging dump failures resulting in "sk unix: Can't dump half of stream unix connection" errors easier. Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
5a723937a2
commit
1cb7916524
1 changed files with 2 additions and 1 deletions
|
|
@ -878,7 +878,8 @@ static int __dump_external_socket(struct unix_sk_desc *sk, struct unix_sk_desc *
|
|||
|
||||
if (peer->type != SOCK_DGRAM) {
|
||||
show_one_unix("Ext stream not supported", peer);
|
||||
pr_err("Can't dump half of stream unix connection.\n");
|
||||
pr_err("Can't dump half of stream unix connection. name: %s; peer name: %s\n",
|
||||
sk->name, peer->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue