diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2016-02-17 17:24:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-17 10:29:26 -0500 |
commit | 6b94bab0ee8d5def6a2aac0ef6204ee6e24386b6 (patch) | |
tree | ba737a483be69af809505f4d95d4bc440292f02a /drivers/acpi/custom_method.c | |
parent | 31c128b66e5b28f468076e4f3ca3025c35342041 (diff) |
net/mlx4_core: Fix potential corruption in counters database
The error flow in procedure handle_existing_counter() is wrong.
The procedure should exit after encountering the error, not continue
as if everything is OK.
Fixes: 68230242cdbc ('net/mlx4_core: Add port attribute when tracking counters')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/custom_method.c')
0 files changed, 0 insertions, 0 deletions