SCTP: cumulative SACK fix 78/11078/2
authorMarco Varlese <marco.varlese@suse.com>
Mon, 12 Mar 2018 11:36:59 +0000 (12:36 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 13 Mar 2018 00:36:53 +0000 (00:36 +0000)
commit6e4d4a3684914d071a9b9249217bb6222aeb1d24
tree2f36b37a03e356caa5a47cd1c6959b16d392569f
parent179ab361b78076bb3732d8c518c15f496a9373a5
SCTP: cumulative SACK fix

A bug was found affecting the cumulative sending of SACK messages.
Because the next0 was never assigned to the next_output the SACK message
was never leaving the peer.
Further, two new flags have been added to distinguish when a peer is
AWAITING a SACK message (e.g. DATA is inflight and waiting to be
acknowledged).

Change-Id: Ibb5a98f7e5fed15cdc76710b74195cac031d59ed
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
src/vnet/sctp/sctp.c
src/vnet/sctp/sctp.h
src/vnet/sctp/sctp_input.c
src/vnet/sctp/sctp_output.c