Skip to content

Commit 2d0ec54

Browse files
hkallweitdavem330
authored andcommitted
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: 1f7aa2b ("r8169: simplify rtl_set_mac_address") Reported-by: Corinna Vinschen <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Tested-by: Corinna Vinschen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 52ee6ef commit 2d0ec54

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/realtek

1 file changed

+1
-0
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7789,6 +7789,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
77897789
NETIF_F_HW_VLAN_CTAG_RX;
77907790
dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
77917791
NETIF_F_HIGHDMA;
7792+
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
77927793

77937794
tp->cp_cmd |= RxChkSum | RxVlan;
77947795

0 commit comments

Comments
 (0)