SCTP: data retransmission & snd_space fix 21/11121/2
authorMarco Varlese <marco.varlese@suse.com>
Tue, 13 Mar 2018 14:44:56 +0000 (15:44 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 13 Mar 2018 23:01:52 +0000 (23:01 +0000)
commit3e9b4656a264066f572dc73f091b3583153b05e2
treebaed5eb9d65409d295fec76f031794fcb18a27fc
parent8145842bf273823192140c57fc773bb92d9db64f
SCTP: data retransmission & snd_space fix

This patch addresses two things:
1) The data retransmission which needs to be taken care of when the
SCTP_TIMER_T3_RXTX;
2) The correct calculation of the amount of data transmittable
considered: the local window, the peer window and any data inflight.

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