sctp: do not update a_rwnd if we are not issuing a sack
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Fri, 18 Mar 2016 21:39:18 +0000 (18:39 -0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:31:11 +0000 (16:31 -0400)
commit07b4d6a1749422fa1e054f3c2aba444acdba39e8
tree6474dfe18a02acadb6a3fee23d2719af33601202
parentabbdb5a74cead60e20b79c960c1772955f0b6b81
sctp: do not update a_rwnd if we are not issuing a sack

The SACK can be lost pretty much elsewhere, but if its allocation fail,
we know we are not sending it, so it is better to revert a_rwnd to its
previous value as this may give it a chance to issue a window update
later.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_sideeffect.c