lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMGffEnoHHeWLE=_WKT96YErXmBK-8mpvRz6=6CRaicaPi+9hg@mail.gmail.com>
Date:   Mon, 29 Aug 2022 07:27:35 +0200
From:   Jinpu Wang <jinpu.wang@...os.com>
To:     Leon Romanovsky <leon@...nel.org>
Cc:     jgg@...pe.ca, linux-rdma@...r.kernel.org,
        Christophe JAILLET <christophe.jaillet@...adoo.fr>,
        Kees Cook <keescook@...omium.org>,
        Håkon Bugge <haakon.bugge@...cle.com>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] infiniband/mthca: Fix dma_map_sg error check

On Sun, Aug 28, 2022 at 12:10 PM Leon Romanovsky <leon@...nel.org> wrote:
>
> On Fri, Aug 26, 2022 at 11:56:14AM +0200, Jack Wang wrote:
> > dma_map_sg return 0 on error, in case of error set
> > EIO as return code.
> >
> > Cc: Jason Gunthorpe <jgg@...pe.ca>
> > Cc: Leon Romanovsky <leon@...nel.org>
> > Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> > Cc: Kees Cook <keescook@...omium.org>
> > Cc: "Håkon Bugge" <haakon.bugge@...cle.com>
> > Cc: linux-rdma@...r.kernel.org
> > Cc: linux-kernel@...r.kernel.org
> > Fixes: 56483ec1b702 ("[PATCH] IB uverbs: add mthca user doorbell record support")
> > Signed-off-by: Jack Wang <jinpu.wang@...os.com>
> > Reviewed-by: Kees Cook <keescook@...omium.org>
> > ---
> >  drivers/infiniband/hw/mthca/mthca_memfree.c | 7 ++++---
> >  1 file changed, 4 insertions(+), 3 deletions(-)
>
> Same answer as was here
> https://lore.kernel.org/all/YwIbI3ktmEiLsy6s@unreal
>
> Thanks
ok, I see you are firm on this, we can skip the patch

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ