net: stmmac: add mutex lock to protect est parameters
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>
Mon, 5 Jul 2021 10:26:54 +0000 (18:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jul 2021 17:16:17 +0000 (10:16 -0700)
commitb2aae654a4794ef898ad33a179f341eb610f6b85
tree54d9a6ce799d2efb7229bc116f24fc8c13b770ab
parent81c52c42afd92b741289208c65e5063b9e23ffb4
net: stmmac: add mutex lock to protect est parameters

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

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
include/linux/stmmac.h