aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethernet')
-rw-r--r--net/ethernet/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index 36e58800a9e3..db6a6c17d790 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -283,7 +283,7 @@ int eth_mac_addr(struct net_device *dev, void *p)
283{ 283{
284 struct sockaddr *addr = p; 284 struct sockaddr *addr = p;
285 285
286 if (netif_running(dev)) 286 if (!(dev->priv_flags & IFF_LIVE_ADDR_CHANGE) && netif_running(dev))
287 return -EBUSY; 287 return -EBUSY;
288 if (!is_valid_ether_addr(addr->sa_data)) 288 if (!is_valid_ether_addr(addr->sa_data))
289 return -EADDRNOTAVAIL; 289 return -EADDRNOTAVAIL;