mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +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:
committed by
Andrei Vagin
parent
5a723937a2
commit
1cb7916524
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user