]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Avoid adding steering rules with invalid ring
authorTalat Batheesh <talatb@mellanox.com>
Tue, 9 May 2017 11:45:23 +0000 (14:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 May 2017 15:22:46 +0000 (11:22 -0400)
commit970209aa364d32d9dc9c5fdbca6c264b7625127c
treee7f6943dc6504f915e8066caaa15fc129e1c7a27
parentc2a1409eacf6c58ba2d98bed3cf0a0a0f3562939
net/mlx4_en: Avoid adding steering rules with invalid ring

Inserting steering rules with illegal ring is an invalid operation,
block it.

Fixes: d6acf32aac6d ('net/mlx4_en: Manage flow steering rules with ethtool')
Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c