[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200818123529.00005d5f@intel.com>
Date: Tue, 18 Aug 2020 12:35:29 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Ganji Aravind <ganji.aravind@...lsio.com>
Cc: <netdev@...r.kernel.org>, <davem@...emloft.net>,
<vishal@...lsio.com>, <rahul.lakkireddy@...lsio.com>
Subject: Re: [PATCH net 2/2] cxgb4: Fix race between loopback and normal Tx
path
Ganji Aravind wrote:
> Even after Tx queues are marked stopped, there exists a
> small window where the current packet in the normal Tx
> path is still being sent out and loopback selftest ends
> up corrupting the same Tx ring. So, ensure selftest takes
> the Tx lock to synchronize access the Tx ring.
>
> Fixes: 7235ffae3d2c ("cxgb4: add loopback ethtool self-test")
> Signed-off-by: Ganji Aravind <ganji.aravind@...lsio.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists