Fixes to tcp active opens and reception 13/6713/3
authorDave Barach <dbarach@cisco.com>
Mon, 15 May 2017 20:27:05 +0000 (16:27 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 16 May 2017 16:50:10 +0000 (16:50 +0000)
commit259cdaeccb70ea1a45b422218d3f5e1920459db8
tree1a3d8b5196186882cfe15a65a3a3fe9eef53cebd
parentf73dae3c45b8fd8c0d9e26d386c56a90cfaf67fd
Fixes to tcp active opens and reception

- Properly initialize connection index
- Add new session to main hash table
- Drop packets that are completely in the past with respect to the rcv
  wnd (e.g., retransmits due to premature timer pops)

Change-Id: Ic0873018ff0a4c59e0913863dc7f0c0f822d5c34
Signed-off-by: Dave Barach <dbarach@cisco.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/session.c
src/vnet/tcp/tcp_input.c