diff options
| author | Eran Ben Elisha <eranbe@mellanox.com> | 2016-02-17 17:24:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:19 +0200 |
| commit | d0389a29cee10801c2f5678cba6776cc4385b841 (patch) | |
| tree | 07f87e93195ec5b719101f1ceb847fe23b1f161b /kernel/sysctl_binary.c | |
| parent | 445c31d813bc647cac5202256b7eea409593b4ff (diff) | |
net/mlx4_core: Fix potential corruption in counters database
commit 6b94bab0ee8d5def6a2aac0ef6204ee6e24386b6 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
