Larysa Zaremba
736281d459
ice: xsk: Fix cleaning of XDP_TX frames
...
commit 1f090494170ea298530cf1285fb8d078e355b4c0 upstream.
Incrementation of xsk_frames inside the for-loop produces
infinite loop, if we have both normal AF_XDP-TX and XDP_TXed
buffers to complete.
Split xsk_frames into 2 variables (xsk_frames and completed_frames)
to eliminate this bug.
Fixes: 29322791bc8b ("ice: xsk: change batched Tx descriptor cleaning")
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Acked-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20230209160130.1779890-1-larysa.zaremba@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-22 12:59:52 +01:00
..
2023-01-24 07:24:37 +01:00
2023-02-09 11:28:04 +01:00
2022-11-09 15:41:27 +01:00
2023-02-22 12:59:49 +01:00
2023-02-01 08:34:26 +01:00
2022-10-12 10:23:24 -07:00
2023-02-09 11:28:08 +01:00
2023-01-24 07:24:32 +01:00
2023-02-09 11:27:59 +01:00
2023-02-09 11:28:04 +01:00
2023-02-14 19:11:52 +01:00
2022-12-31 13:31:59 +01:00
2023-01-24 07:24:35 +01:00
2022-12-31 13:32:41 +01:00
2023-02-14 19:11:44 +01:00
2022-12-31 13:31:55 +01:00
2023-01-12 12:02:08 +01:00
2023-02-14 19:11:52 +01:00
2022-11-21 15:34:40 -08:00
2023-01-07 11:11:40 +01:00
2022-12-31 13:32:38 +01:00
2023-02-06 08:06:33 +01:00
2023-02-09 11:28:23 +01:00
2023-02-01 08:34:40 +01:00
2022-12-31 13:32:39 +01:00
2023-02-09 11:27:59 +01:00
2023-02-14 19:11:54 +01:00
2023-02-09 11:28:22 +01:00
2023-02-09 11:28:04 +01:00
2023-02-22 12:59:50 +01:00
2023-02-22 12:59:51 +01:00
2023-02-14 19:11:45 +01:00
2022-12-31 13:32:45 +01:00
2023-02-09 11:28:21 +01:00
2022-12-31 13:33:06 +01:00
2022-12-31 13:32:41 +01:00
2023-02-09 11:28:13 +01:00
2022-10-12 23:45:29 +02:00
2023-02-09 11:28:26 +01:00
2023-02-14 19:11:43 +01:00
2023-02-01 08:34:50 +01:00
2023-02-01 08:34:06 +01:00
2023-01-18 11:58:21 +01:00
2022-12-31 13:31:57 +01:00
2023-02-09 11:28:04 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:32:50 +01:00
2022-12-31 13:32:55 +01:00
2022-12-31 13:32:41 +01:00
2023-02-09 11:28:14 +01:00
2023-02-09 11:28:01 +01:00
2023-02-01 08:34:02 +01:00
2022-12-31 13:32:25 +01:00
2023-01-04 11:29:01 +01:00
2023-02-09 11:28:04 +01:00
2023-02-22 12:59:48 +01:00
2023-01-18 11:58:24 +01:00
2023-02-22 12:59:52 +01:00
2023-01-18 11:58:26 +01:00
2023-02-14 19:11:53 +01:00
2023-02-22 12:59:44 +01:00
2023-02-09 11:28:25 +01:00
2023-02-22 12:59:46 +01:00
2023-01-07 11:11:55 +01:00
2022-11-09 15:40:32 +01:00
2023-02-14 19:11:42 +01:00
2023-02-01 08:34:49 +01:00
2023-02-09 11:28:25 +01:00
2023-02-14 19:11:52 +01:00
2023-02-22 12:59:45 +01:00
2022-12-31 13:31:56 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:33:12 +01:00
2022-12-31 13:32:00 +01:00
2023-01-18 11:58:22 +01:00
2023-01-07 11:11:55 +01:00
2023-02-01 08:34:05 +01:00
2023-02-09 11:28:17 +01:00
2023-02-09 11:28:04 +01:00
2023-02-09 11:28:12 +01:00
2022-11-09 15:40:14 +01:00
2022-11-10 18:45:40 +01:00
2023-02-01 08:34:08 +01:00
2023-01-04 11:28:56 +01:00
2023-02-14 19:11:50 +01:00
2023-01-24 07:24:35 +01:00
2023-02-09 11:28:12 +01:00
2022-11-17 09:22:12 +01:00
2023-02-01 08:34:48 +01:00
2023-01-24 07:24:37 +01:00
2023-02-09 11:28:25 +01:00
2023-02-01 08:34:39 +01:00
2022-12-31 13:32:38 +01:00
2023-02-14 19:11:52 +01:00
2023-02-22 12:59:42 +01:00
2023-02-01 08:34:36 +01:00
2023-02-09 11:28:04 +01:00
2023-02-22 12:59:46 +01:00
2022-12-31 13:32:09 +01:00
2023-01-24 07:24:31 +01:00
2023-02-01 08:34:26 +01:00
2023-02-09 11:28:16 +01:00
2023-02-09 11:28:04 +01:00