Eugenia Emantayev 75c6062cb7 mlx4: fix buffer overrun
When passing MLX4_UC_STEER=1 it was translated to value 2
after mlx4_QP_ATTACH_wrapper. Therefore in new_steering_entry()
unicast steer entries were added to index 2 of array of size 2.
Fixing this bug by shift right to one position.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-15 14:50:15 -05:00
..
2012-02-06 14:37:52 -05:00
2012-01-26 18:36:48 +00:00
2012-02-02 14:00:43 +05:30
2012-01-20 08:24:22 -08:00
2012-01-14 15:07:24 -08:00
2012-02-09 15:41:29 -05:00
2012-02-08 19:06:30 -08:00
2012-02-09 13:51:13 -08:00
2012-02-15 14:50:15 -05:00
2012-01-23 08:44:53 -08:00
2012-02-01 15:26:00 -05:00
2012-01-13 10:12:23 -08:00
2012-02-07 15:54:02 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00