Patent attributes
An embodiment of a method and apparatus for synchronizing communication tasks (e.g., transmission control protocol (TCP) tasks) for redundancy in a network element is disclosed herein. The method includes an operation for receiving an inbound TCP packet at a TCP task of an active routing module of a network element. An operation is performed for queuing a first copy of the inbound TCP packet in a receive queue of the active routing module. After queuing the first copy of the inbound TCP packet, an operation is performed for forwarding a second copy of the inbound TCP packet to an inactive routing module of the network element. After receiving the second copy of the inbound TCP packet, an operation is performed for queuing the second copy of the inbound TCP packet in a receive queue of the inactive routing module.