r8169: fix mac address change
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 2 Jul 2018 20:49:35 +0000 (22:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 14:27:58 +0000 (23:27 +0900)
commit2d0ec5440bef4a0a8858d52d45c31725540c3e74
treec4dc03c47197b68f5fba1ebeb39dbb94f6475b44
parent52ee6ef36ee10dd493cf2067311e56ca8015eb8d
r8169: fix mac address change

Network core refuses to change mac address because flag
IFF_LIVE_ADDR_CHANGE isn't set. Set this missing flag.

Fixes: 1f7aa2bc268e ("r8169: simplify rtl_set_mac_address")
Reported-by: Corinna Vinschen <vinschen@redhat.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Corinna Vinschen <vinschen@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c