Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx4: off by one in parse_trans_rule()
This should be ">=" here instead of ">". MLX4_NET_TRANS_RULE_NUM is 6. We use "spec->id" as an array offset into the __rule_hw_sz[] and __sw_id_hw[] arrays which have 6 elements. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Hadar Hen Zion <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information