An apparatus and a method are described for zero packet loss task
migration in an network switch in a computer network. The invention
relates to active or programmable networks, i.e. networks based on packet
switching algorithms and switch configurations which are subject to
change. A well-defined protocol enables an intelligent switch to migrate
tasks from one forwarding engine to another without any packet loss. This
enables the algorithms and configurations of the switch to be updated or
modified arbitrarily.