Re: [PATCH 5.10 047/103] net: stmmac: add mutex lock to protect est parameters

From: Sasha Levin
Date: Thu Sep 02 2021 - 09:52:06 EST


On Wed, Sep 01, 2021 at 10:09:53PM +0200, Pavel Machek wrote:
Hi!

[ Upstream commit b2aae654a4794ef898ad33a179f341eb610f6b85 ]

Add a mutex lock to protect est structure parameters so that the
EST parameters can be updated by other threads.

Mainline version of the patch is okay, but I believe we need one more
mutex_unlock in 5.10.

I think you're right. Looks like it's because we don't have 5a5586112b92
("net: stmmac: support FPE link partner hand-shaking procedure") in 5.10
(and I don't think it makes sense to backport it either).

I've squashed your patch into the backport, thanks!

--
Thanks,
Sasha