mbox series

[net,0/3] mlx4_core misc fixes

Message ID 1552403149-23882-1-git-send-email-tariqt@mellanox.com
Headers show
Series mlx4_core misc fixes | expand

Message

Tariq Toukan March 12, 2019, 3:05 p.m. UTC
Hi Dave,

This patchset by Jack contains misc fixes to the mlx4 Core driver.

Patch 1 fixes a use-after-free situation by marking (nullifying) the pointer,
  please queue for -stable >= v4.0.
Patch 2 adds a missing lock acquire and release in SRIOV command interface,
  please queue for -stable >= v4.9.
Patch 3 avoids calling roundup_pow_of_two when argument is zero,
  please queue for -stable >= v3.3.

Series generated against net commit:
a3b1933d34d5 Merge tag 'mlx5-fixes-2019-03-11' of
git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux


Thanks,
Tariq.


Jack Morgenstein (3):
  net/mlx4_core: Fix reset flow when in command polling mode
  net/mlx4_core: Fix locking in SRIOV mode when switching between events
    and polling
  net/mlx4_core: Fix qp mtt size calculation

 drivers/net/ethernet/mellanox/mlx4/cmd.c              | 9 +++++++++
 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 6 +++---
 2 files changed, 12 insertions(+), 3 deletions(-)

Comments

David Miller March 12, 2019, 10:01 p.m. UTC | #1
From: Tariq Toukan <tariqt@mellanox.com>
Date: Tue, 12 Mar 2019 17:05:46 +0200

> This patchset by Jack contains misc fixes to the mlx4 Core driver.
> 
> Patch 1 fixes a use-after-free situation by marking (nullifying) the pointer,
>   please queue for -stable >= v4.0.
> Patch 2 adds a missing lock acquire and release in SRIOV command interface,
>   please queue for -stable >= v4.9.
> Patch 3 avoids calling roundup_pow_of_two when argument is zero,
>   please queue for -stable >= v3.3.
> 
> Series generated against net commit:
> a3b1933d34d5 Merge tag 'mlx5-fixes-2019-03-11' of
> git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux

Series applied and queued up for -stable, thanks.