git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sctp: Update SWS avaoidance receiver side algorithm
[safe/jmp/linux-2.6]
/
net
/
sctp
/
sm_sideeffect.c
diff --git
a/net/sctp/sm_sideeffect.c
b/net/sctp/sm_sideeffect.c
index
eda4fe7
..
8ae6709
100644
(file)
--- a/
net/sctp/sm_sideeffect.c
+++ b/
net/sctp/sm_sideeffect.c
@@
-217,8
+217,7
@@
static int sctp_gen_sack(struct sctp_association *asoc, int force,
sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART,
SCTP_TO(SCTP_EVENT_TIMEOUT_SACK));
} else {
- if (asoc->a_rwnd > asoc->rwnd)
- asoc->a_rwnd = asoc->rwnd;
+ asoc->a_rwnd = asoc->rwnd;
sack = sctp_make_sack(asoc);
if (!sack)
goto nomem;