l4p/tcp: correct TCP stream establish seq/ack misordering 36/33136/2
authorStefan Baranoff <[email protected]>
Wed, 14 Jul 2021 18:10:20 +0000 (18:10 +0000)
committerStefan Baranoff <[email protected]>
Wed, 14 Jul 2021 18:10:20 +0000 (18:10 +0000)
commit22243dd16173721c7a8ec9298ae7f72b4bece1f5
treea6b1f3a83b4cb6073a255494d594349d2961b409
parentd2baf65c86ac164346f25828c54775bab8343841
l4p/tcp: correct TCP stream establish seq/ack misordering

The calls made by tle_tcp_stream_establish for filling the snd and rcv
TCB seq/ack values assume numbers taken from a SYN/ACK. This makes the
expected ordering backwards from the perspective of the stream itself.
I.e. Data from stream's SEQ number aligns with SYN/ACK's ACK number.

Change-Id: I1877dec6053615a8c0140a6112e5eac659bf5709
Signed-off-by: Stefan Baranoff <[email protected]>
lib/libtle_l4p/tcp_rxtx.c