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]
Date:   Wed, 7 Aug 2019 18:03:43 +0000
From:   Saeed Mahameed <saeedm@...lanox.com>
To:     "leon@...nel.org" <leon@...nel.org>
CC:     "jgg@...pe.ca" <jgg@...pe.ca>,
        "dledford@...hat.com" <dledford@...hat.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "hslester96@...il.com" <hslester96@...il.com>,
        "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v3] mlx5: Use refcount_t for refcount

On Wed, 2019-08-07 at 06:17 +0300, Leon Romanovsky wrote:
> On Tue, Aug 06, 2019 at 08:40:11PM +0000, Saeed Mahameed wrote:
> > On Tue, 2019-08-06 at 09:59 +0800, Chuhong Yuan wrote:
> > > Reference counters are preferred to use refcount_t instead of
> > > atomic_t.
> > > This is because the implementation of refcount_t can prevent
> > > overflows and detect possible use-after-free.
> > > So convert atomic_t ref counters to refcount_t.
> > > 
> > > Signed-off-by: Chuhong Yuan <hslester96@...il.com>
> > > ---
> > > Changes in v3:
> > >   - Merge v2 patches together.
> > > 
> > >  drivers/infiniband/hw/mlx5/srq_cmd.c         | 6 +++---
> > >  drivers/net/ethernet/mellanox/mlx5/core/qp.c | 6 +++---
> > >  include/linux/mlx5/driver.h                  | 3 ++-
> > >  3 files changed, 8 insertions(+), 7 deletions(-)
> > > 
> > 
> > LGTM, Leon, let me know if you are happy with this version,
> > this should go to mlx5-next.
> 
> Thanks,
> Acked-by: Leon Romanovsky <leonro@...lanox.com>

Applied to mlx5-next.

Thanks !

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ