diff options
| author | Matan Barak <[email protected]> | 2015-01-27 15:58:07 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-27 17:12:58 -0800 |
| commit | 19ab574f6271a2f912a449cfdea14a60098fba90 (patch) | |
| tree | 60523d1ada891d59bcdb25cd00a847dd7e62e7b8 /tools/perf/scripts/python/sched-migration.py | |
| parent | 5a228c03d849c86c10ee69d9951695b0649f82ce (diff) | |
net/mlx4: Fix memory corruption in mlx4_MAD_IFC_wrapper
Fix a memory corruption at mlx4_MAD_IFC_wrapper.
A table of size dev->caps.pkey_table_len[port]*sizeof(*table)
was allocated, but get_full_pkey_table() assumes that the number
of entries in the table is a multiplication of 32 (which isn't always
correct).
Fixes: 0a9a018 ('mlx4: MAD_IFC paravirtualization')
Signed-off-by: Matan Barak <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions