Re: [PATCH rdma-rc] RDMA/mlx4: Initialize ib_spec on the stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 13, 2020 at 04:22:35PM +0300, Leon Romanovsky wrote:
> From: Alaa Hleihel <alaa@xxxxxxxxxxxx>
> 
> Initialize ib_spec on the stack before using it, otherwise we will
> have garbage values that will break creating default rules with
> invalid parsing error.
> 
> Fixes: a37a1a428431 ("IB/mlx4: Add mechanism to support flow steering over IB links")
> Signed-off-by: Alaa Hleihel <alaa@xxxxxxxxxxxx>
> Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx4/main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to for-rc, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux