diff options
author | Moshe Shemesh | 2023-11-30 11:30:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2024-01-01 12:38:55 +0000 |
commit | 94c8485b449ed92034a8efda4fd62ca09dc3b095 (patch) | |
tree | a65638f36d674c9f863649a5a79e2c601e986462 /fs/proc/vmcore.c | |
parent | 1750f55d855a6ac3d59cedd059916301c1effb3b (diff) |
net/mlx5: Fix fw tracer first block check
[ Upstream commit 4261edf11cb7c9224af713a102e5616329306932 ]
While handling new traces, to verify it is not the first block being
written, last_timestamp is checked. But instead of checking it is non
zero it is verified to be zero. Fix to verify last_timestamp is not
zero.
Fixes: c71ad41ccb0c ("net/mlx5: FW tracer, events handling")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Feras Daoud <ferasda@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/proc/vmcore.c')
0 files changed, 0 insertions, 0 deletions