]> err.no Git - linux-2.6/commit
skge: set mac address bonding fix
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 12 Mar 2007 22:16:26 +0000 (15:16 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 15 Mar 2007 14:44:32 +0000 (10:44 -0400)
commit2eb3e621c4e07e9e7200dbb66f0433b4caafb8e7
tree076526c36ade3c7c8a5e118c5210e14db96f22de
parent8ce5e3e45e01ffab38a9f03900181132b9068543
skge: set mac address bonding fix

When bonding does fail over it calls set_mac_address.  When this happens
as the result of another port going down, the phy_mutex that is common to
both ports is held, so it deadlocks. Setting the address doesn't need to do
anything that needs the phy_mutex, it already has the RTNL to protect against
other admin actions.

This change just disables the receiver to avoid any hardware confusion
while address is changing.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c