sfc: save old MAC address in case sriov_mac_address_changed fails
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:09:30 +0000 (11:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:53 +0000 (18:43 -0400)
commitcfc77c2fbadf5b806fea2e35738c7437fc62f522
treec4d96fa883fb33f07b9ecfb844bb8dc4ad030112
parent88a37de674f8a7c7622bb00d78437153b31e3797
sfc: save old MAC address in case sriov_mac_address_changed fails

Otherwise the PF and VF can disagree on the VF's MAC address and
this leads to strange behaviour, up to and including kernel panics.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10_sriov.h
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/siena_sriov.c
drivers/net/ethernet/sfc/siena_sriov.h