Re: [PATCH] ksmbd: Use struct_size() to improve smb_direct_rdma_xmit()
From: Namjae Jeon
Date: Tue Oct 01 2024 - 00:31:51 EST
On Sun, Sep 29, 2024 at 12:01 AM Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
>
> Use struct_size() to calculate the number of bytes to allocate for a
> new message.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Applied it to #ksmbd-for-next-next.
Thanks!