kernel/drivers/net/ipvlan/ipvlan_main.c
.. .. @@ -745,7 +745,8 @@ 745 745 746 746 write_pnet(&port->pnet, newnet); 747 747 748 - ipvlan_migrate_l3s_hook(oldnet, newnet);748 + if (port->mode == IPVLAN_MODE_L3S)749 + ipvlan_migrate_l3s_hook(oldnet, newnet);749 750 break; 750 751 } 751 752 case NETDEV_UNREGISTER: