]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d91cf15ab3e0b2246ce6590a2329ab94c6920f8
tree54d9a6ce799d2efb7229bc116f24fc8c13b770ab
parent3e376f28d0af88a6e2609884d9fd029b5d2041d0
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