[lvc-project] [PATCH 5.10 1/1] smbdirect: missing rc checks while waiting for rdma events

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Oct 31 14:47:29 MSK 2023


On Tue, Oct 24, 2023 at 01:02:26PM +0300, Anastasia Belova wrote:
> From: Steve French <stfrench at microsoft.com>
> 
> commit 0555b221528e9cb11f5766dcdee19c809187e42e upstream.
> 
> There were two places where we weren't checking for error
> (e.g. ERESTARTSYS) while waiting for rdma resolution.
> 
> Addresses-Coverity: 1462165 ("Unchecked return value")
> Reviewed-by: Tom Talpey <tom at talpey.com>
> Reviewed-by: Long Li <longli at microsoft.com>
> Signed-off-by: Steve French <stfrench at microsoft.com>
> Signed-off-by: Anastasia Belova <abelova at astralinux.ru>
> ---
>  fs/cifs/smbdirect.c | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

Now queued up, thanks.

greg k-h



More information about the lvc-project mailing list