exynos-linux-stable/include/linux/mlx4
Talat Batheesh eec6e0a4b1 net/mlx4: Fix the check in attaching steering rules
[ Upstream commit 6dc06c08bef1c746ff8da33dab677cfbacdcad32 ]

Our previous patch (cited below) introduced a regression
for RAW Eth QPs.

Fix it by checking if the QP number provided by user-space
exists, hence allowing steering rules to be added for valid
QPs only.

Fixes: 89c557687a32 ("net/mlx4_en: Avoid adding steering rules with invalid ring")
Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:48:19 +02:00
..
cmd.h net/mlx4: Add VF vlan protocol 802.1ad support 2016-09-24 08:01:27 -04:00
cq.h net/mlx4_en: Add support for hardware accelerated 802.1ad vlan 2015-07-27 15:00:37 -07:00
device.h net/mlx4_core: Avoid delays during VF driver device shutdown 2017-12-20 10:07:25 +01:00
doorbell.h
driver.h mlx4: Implement devlink interface 2016-03-01 16:07:29 -05:00
qp.h net/mlx4: Fix the check in attaching steering rules 2018-04-13 19:48:19 +02:00
srq.h