All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] mlx5: bugfixes for ptp fifo queue
@ 2023-01-24  0:08 Vadim Fedorenko
  2023-01-24  0:08 ` [PATCH net v2 1/2] mlx5: fix possible ptp queue fifo overflow Vadim Fedorenko
  2023-01-24  0:08 ` [PATCH net v2 2/2] mlx5: fix skb leak while fifo resync Vadim Fedorenko
  0 siblings, 2 replies; 7+ messages in thread
From: Vadim Fedorenko @ 2023-01-24  0:08 UTC (permalink / raw)
  To: Vadim Fedorenko, Aya Levin, Saeed Mahameed, Jakub Kicinski,
	Gal Pressman
  Cc: Vadim Fedorenko, netdev

From: Vadim Fedorenko <vadfed@meta.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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-25 22:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-24  0:08 [PATCH net v2 0/2] mlx5: bugfixes for ptp fifo queue Vadim Fedorenko
2023-01-24  0:08 ` [PATCH net v2 1/2] mlx5: fix possible ptp queue fifo overflow Vadim Fedorenko
2023-01-24  2:05   ` Rahul Rameshbabu
2023-01-24  4:19   ` Jakub Kicinski
2023-01-24 16:03     ` Vadim Fedorenko
2023-01-25 22:02       ` Jakub Kicinski
2023-01-24  0:08 ` [PATCH net v2 2/2] mlx5: fix skb leak while fifo resync Vadim Fedorenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.