diff options
author | Moshe Shemesh <[email protected]> | 2022-11-17 09:07:20 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2022-11-21 18:14:34 -0800 |
commit | aaf2e65cac7f2e1ae729c2fbc849091df9699f96 (patch) | |
tree | 73588cb38c88042c531b24eb8ce70db26fba5914 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 870c2481174b839e7159555127bc8b5a5d0699ba (diff) |
net/mlx5: Fix handling of entry refcount when command is not issued to FW
In case command interface is down, or the command is not allowed, driver
did not increment the entry refcount, but might have decrement as part
of forced completion handling.
Fix that by always increment and decrement the refcount to make it
symmetric for all flows.
Fixes: 50b2412b7e78 ("net/mlx5: Avoid possible free of command entry while timeout comp handler")
Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Moshe Shemesh <[email protected]>
Reported-by: Jack Wang <[email protected]>
Tested-by: Jack Wang <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions