]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite637f33afeec3e8d1dbc95dbd27d1cd908ae8dc2
tree6474dfe18a02acadb6a3fee23d2719af33601202
parent44ae74a86ac602fbe2d57ec2d0ea77248d5069a6
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