[PATCH v1 net 0/1] ocelot stats mutex fix

From: Colin Foster
Date: Thu Feb 10 2022 - 10:05:06 EST


Originally submitted to net-next as part of
20220210041345.321216-6-colin.foster@xxxxxxxxxxxxxxxx, this patch
resolves a bug where a mutex was not guarding a buffer read that could
be concurrently written into.

Break this out as a separate patch to be applied to net.


Colin Foster (1):
net: mscc: ocelot: fix mutex lock error during ethtool stats read

drivers/net/ethernet/mscc/ocelot.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

--
2.25.1