On 12/04/2023 4:50, Jakub Kicinski wrote:
Eric points out that we should make sure that ring index updates are wrapped in the appropriate READ_ONCE/WRITE_ONCE macros. Suggested-by: Eric Dumazet <edumazet@xxxxxxxxxx> Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> --- CC: tariqt@xxxxxxxxxx CC: linux-rdma@xxxxxxxxxxxxxxx --- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxx> Thanks!