Skip to content

Commit

Permalink
xfrm: iptfs: handle reordering of received packets
Browse files Browse the repository at this point in the history
Handle the receipt of the outer tunnel packets out-of-order. Pointers to
the out-of-order packets are saved in a window (array) awaiting needed
prior packets. When the required prior packets are received the now
in-order packets are then passed on to the regular packet receive code.
A timer is used to consider missing earlier packet as lost so the
algorithm will advance.

Signed-off-by: Christian Hopps <chopps@labn.net>
Tested-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
  • Loading branch information
Christian Hopps authored and Steffen Klassert committed Dec 5, 2024
1 parent 5f2b6a9 commit 6be02e3
Showing 1 changed file with 484 additions and 13 deletions.
Loading

0 comments on commit 6be02e3

Please sign in to comment.