Re: [PATCH] sctp: do not update a_rwnd if we are not issuing a sack

2016-03-20 Thread David Miller
From: Marcelo Ricardo Leitner Date: Fri, 18 Mar 2016 18:39:18 -0300 > 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. >

[PATCH] sctp: do not update a_rwnd if we are not issuing a sack

2016-03-19 Thread Marcelo Ricardo Leitner
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 --- net/sctp/sm_sideeffect.c | 6 +