mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 net 0/1] ocelot stats mutex fix
@ 2022-02-10 15:04 Colin Foster
  2022-02-10 15:04 ` [PATCH v1 net 1/1] net: mscc: ocelot: fix mutex lock error during ethtool stats read Colin Foster
  2022-02-10 20:00 ` [PATCH v1 net 0/1] ocelot stats mutex fix patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Colin Foster @ 2022-02-10 15:04 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: Andrew Lunn, Jakub Kicinski, David S. Miller, UNGLinuxDriver,
	Alexandre Belloni, Claudiu Manoil, Vladimir Oltean

Originally submitted to net-next as part of
20220210041345.321216-6-colin.foster@in-advantage.com, 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-10 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 15:04 [PATCH v1 net 0/1] ocelot stats mutex fix Colin Foster
2022-02-10 15:04 ` [PATCH v1 net 1/1] net: mscc: ocelot: fix mutex lock error during ethtool stats read Colin Foster
2022-02-10 20:00 ` [PATCH v1 net 0/1] ocelot stats mutex fix patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®