Re: [PATCH net v2 1/1] net: fec: add netif status check before set mac address

2015-09-09 Thread David Miller
From: Fugang Duan Date: Thu, 10 Sep 2015 09:35:39 +0800 > There exist one issue by below case that case system hang: > ifconfig eth0 down > ifconfig eth0 hw ether 00:10:19:19:81:19 > > After eth0 down, all fec clocks are gated off. In the .fec_set_mac_address() > function, it will set new MAC ad

[PATCH net v2 1/1] net: fec: add netif status check before set mac address

2015-09-09 Thread Fugang Duan
There exist one issue by below case that case system hang: ifconfig eth0 down ifconfig eth0 hw ether 00:10:19:19:81:19 After eth0 down, all fec clocks are gated off. In the .fec_set_mac_address() function, it will set new MAC address to registers, which causes system hang. So it needs to add neti