summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAlaa Hleihel <alaa@mellanox.com>2020-04-13 16:22:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-05 19:13:22 +0200
commitc7981746ad508c57c86bbb20bfae680b21abec9a (patch)
tree61821735e97f98278b27c8ca6bc786040084e6e0 /kernel
parent1d8e2371a2b2454d224d7822a351209734d93274 (diff)
RDMA/mlx4: Initialize ib_spec on the stack
commit c08cfb2d8d78bfe81b37cc6ba84f0875bddd0d5c upstream. 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") Link: https://lore.kernel.org/r/20200413132235.930642-1-leon@kernel.org Signed-off-by: Alaa Hleihel <alaa@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions