diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-11 00:33:36 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-07-17 09:57:43 +0400 |
| commit | 447458c01f4c765ab37ac7b380e60d977daae4c5 (patch) | |
| tree | e827aadcb288c97970e1f864a49cc9b389acaf2a /tools/perf/scripts/python | |
| parent | f0396f60d7c165018c9b203fb9b89fb224835578 (diff) | |
| download | linux-447458c01f4c765ab37ac7b380e60d977daae4c5.tar.xz | |
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 <dan.carpenter@oracle.com>
Acked-by: Hadar Hen Zion <hadarh@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
