[Cluster-devel] [PATCH dlm-next 1/2] fs: dlm: don't call kernel_getpeername() in error_report()

Alexander Aring aahringo at redhat.com
Sat Nov 13 00:08:16 UTC 2021


Hi,

On Fri, Nov 12, 2021 at 5:03 PM Alexander Aring <aahringo at redhat.com> wrote:
...
>
> It is and was always forbidden to call kernel_getpeername() in context
> of error_report(). To get rid of the problem we save the peer address in
> the connection struct and access it in error_report() without using
> kernel_getpeername() in this context.
>

I will send a v2, this can be improved by using inet_sk().

- Alex




More information about the Cluster-devel mailing list