tcp: handle disconnects after enq notifications 45/15845/4
authorFlorin Coras <fcoras@cisco.com>
Fri, 9 Nov 2018 22:34:08 +0000 (14:34 -0800)
committerDave Barach <openvpp@barachs.net>
Mon, 12 Nov 2018 16:29:46 +0000 (16:29 +0000)
commitb11175d797c11880d19442f178db5df526ca1256
treeca26b8c7d94fe024b104b9a1cd93a22a15764848
parent569a278597bd1af58a4fa9a5f4341cafc99a382b
tcp: handle disconnects after enq notifications

Make sure that we notify the app of the data enqueued in the burst
before notifying of disconnect.

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