xs_error_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you’ve found the xs_error_report(9) page from the Kernel API Manual πŸ’…βœ¨

🌸 NAME 🌸

xs_error_report β€” callback to handle TCP socket state errors. that’s the whole job, and it’s lowkey iconic πŸ’–

✨ SYNOPSIS ✨

void xs_error_report (struct sock *sk );

πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” socket. yes bestie, that’s the argument: a socket 🫢

πŸ’€ NOTE πŸ’€

⚠️ okay this part matters: xs_error_report does not call sock_error, because there may be an rpc_task using the socket, and so we don’t want to clear sk->sk_err. no touchy the error, bestie 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./net/sunrpc/xprtsock.c and literally the whole socket-xprt group chat:

and that’s the page, bestie β€” source/version ./net/sunrpc, dated October 2026, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from