[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230124000836.20523-1-vfedorenko@novek.ru>
Date: Tue, 24 Jan 2023 03:08:34 +0300
From: Vadim Fedorenko <vfedorenko@...ek.ru>
To: Vadim Fedorenko <vadfed@...com>, Aya Levin <ayal@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>,
Jakub Kicinski <kuba@...nel.org>, Gal Pressman <gal@...dia.com>
Cc: Vadim Fedorenko <vadfed@...a.com>, netdev@...r.kernel.org
Subject: [PATCH net v2 0/2] mlx5: bugfixes for ptp fifo queue
From: Vadim Fedorenko <vadfed@...a.com>
Simple FIFO implementation for PTP queue has several bug which lead to
use-after-free and skb leaks. This series fixes the issues and adds new
counters of out-of-order CQEs for this queue.
v1 -> v2:
Update Fixes tag to proper commit.
Change debug line to avoid double print of function name
Vadim Fedorenko (2):
mlx5: fix possible ptp queue fifo overflow
mlx5: fix skb leak while fifo resync
.../net/ethernet/mellanox/mlx5/core/en/ptp.c | 29 ++++++++++++++-----
.../net/ethernet/mellanox/mlx5/core/en/txrx.h | 6 +++-
.../ethernet/mellanox/mlx5/core/en_stats.c | 2 ++
.../ethernet/mellanox/mlx5/core/en_stats.h | 2 ++
4 files changed, 31 insertions(+), 8 deletions(-)
--
2.27.0
Powered by blists - more mailing lists