mbox series

[net,0/2] mlx5: bugfixes for ptp fifo queue

Message ID 20230122161602.1958577-1-vadfed@meta.com (mailing list archive)
Headers show
Series mlx5: bugfixes for ptp fifo queue | expand

Message

Vadim Fedorenko Jan. 22, 2023, 4:16 p.m. UTC
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.

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(-)