]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Include sk_buff overhead while updating the peer's receive window.
authorSridhar Samudrala <sri@us.ibm.com>
Sat, 30 Sep 2006 00:09:05 +0000 (17:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Sep 2006 00:09:05 +0000 (17:09 -0700)
commit8a5be69ddfe15b27adc7ec57369e08ed90dfc0b2
treea05455a25c805f5ec775f730ee7cab789948649d
parent25d7e7a39eb38d48c43b1fcf92e2297d76f9abef
[SCTP]: Include sk_buff overhead while updating the peer's receive window.

Currently if the sender is sending small messages, it can cause a receiver
to run out of receive buffer space even when the advertised receive window
is still open and results in packet drops and retransmissions. Including
a overhead while updating the sender's view of peer receive window will
reduce the chances of receive buffer space overshooting the receive window.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/output.c
net/sctp/outqueue.c