Re: [PATCH] net/ceph/messenger: print TCP connect error
From: Max Kellermann
Date: Tue Nov 03 2026 - 02:06:46 EST
On Mon, Nov 2, 2026 at 10:08 PM Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
> I wonder if saving the error that way is actually needed. Can
> con_fault() just reap it with sock_error() at the time it runs?
Maybe that would be possible. I wasn't sure if sk_err (from
ceph_sock_state_change()) would remain untouched until con_fault() was
eventually called, or if it somebody would clear it in the meantime.
--
Max Kellermann
Principal Architect
Hosting Technology
cm4all | Im Mediapark 6a | 50670 Köln | Germany
General information about the company can be found here:
https://www.cm4all.com/impressum
A member of the IONOS Group