]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: protect emcr in all cases
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:37 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:36 +0000 (13:54 -0700)
commitcf1792d696c8a8125f4a2277631f2bfc27ec1134
tree05e4c59356d699ecc1997c53f4eef66eaed51858
parenta7164b2197613f78b2a52f88052ab8418e1cc948
net: sgi: ioc3-eth: protect emcr in all cases

emcr in private struct wasn't always protected by spinlock.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c