Thread (3 messages) 3 messages, 2 authors, 2012-10-22

Re: [PATCH] e1000: fix concurrent accesses to PHY from watchdog and ethtool

flat view

From: Jeff Kirsher <hidden>
Date: 2012-10-20 06:47:37

On Fri, 2012-10-19 at 14:44 +0200, Florian Fainelli wrote:
From: Maxime Bizon <redacted>

The e1000 driver currently does not protect concurrent accesses to the
PHY
from both the ethtool callbacks, and from the e1000_watchdog function.
This
patchs adds a new spinlock which is used by e1000_{read,write}_phy_reg
in
order to serialize concurrent accesses to the PHY.

Signed-off-by: Maxime Bizon <redacted>
Signed-off-by: Florian Fainelli <redacted>
---
 drivers/net/ethernet/intel/e1000/e1000_hw.c |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-) 
It does not appear I have responded yet, so...

I have added this patch to my queue, thanks!

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help