tcp: improve handling of snd_nxt 27/18227/15
authorFlorin Coras <fcoras@cisco.com>
Wed, 13 Mar 2019 01:58:54 +0000 (18:58 -0700)
committerDamjan Marion <dmarion@me.com>
Fri, 22 Mar 2019 17:30:29 +0000 (17:30 +0000)
commit4759683744d079f868a6bcca8084eba8466620d7
tree6795035edf69463107dfbaa54eae3183cdc62356
parent881d13ede7336e5b16601033e5dd9aeb94c795e3
tcp: improve handling of snd_nxt

- avoid changing snd_nxt when doing fast retransmits
- use snd_una_max only to keep track of the max seq number sent
- simplify future ack testing

Change-Id: I3580ad3aefe30128486c3375d0ac3f3f62c04c5e
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/plugins/unittest/tcp_test.c
src/vnet/tcp/tcp.c
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_input.c
src/vnet/tcp/tcp_output.c