1
0
Fork 0
alistair23-linux/include/linux/mlx4
Talat Batheesh 6dc06c08be net/mlx4: Fix the check in attaching steering rules
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: 89c557687a ("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>
2017-06-04 23:10:05 -04:00
..
cmd.h net/mlx4: Spoofcheck and zero MAC can't coexist 2017-02-23 10:57:56 -05:00
cq.h net/mlx4_en: Add support for hardware accelerated 802.1ad vlan 2015-07-27 15:00:37 -07:00
device.h treewide: spelling: correct diffrent[iate] and banlance typos 2017-05-08 17:15:13 -07:00
doorbell.h
driver.h net/mlx4: && vs & typo 2017-03-01 09:50:58 -08:00
qp.h net/mlx4: Fix the check in attaching steering rules 2017-06-04 23:10:05 -04:00
srq.h mlx4_core: Implement SRQ object lookup from srqn 2013-04-16 22:42:55 -07:00