diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2010-04-30 22:41:10 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2010-04-30 22:41:10 -0400 |
commit | bfa0d9843ac5feb9667990706b4524390fee4df9 (patch) | |
tree | 93b3f84efdc8a01ed76c70f8edec0d2f412d9d04 /net/sctp/output.c | |
parent | ea862c8d1f4a0d193979c7412c3b946f600721ce (diff) | |
download | kernel_samsung_aries-bfa0d9843ac5feb9667990706b4524390fee4df9.zip kernel_samsung_aries-bfa0d9843ac5feb9667990706b4524390fee4df9.tar.gz kernel_samsung_aries-bfa0d9843ac5feb9667990706b4524390fee4df9.tar.bz2 |
sctp: Optimize computation of highest new tsn in SACK.
Right now, if the highest tsn in the SACK doesn't change, we'll
end up scanning the transmitted lists on the transports twice:
once for locating the highest _new_ tsn, and once for actually
tagging chunks as acked. This is a waste, since we can record
the highest _new_ tsn at the same time as tagging chunks. Long
ago this was not possible because we would try to mark chunks
as missing at the same time as tagging them acked and this approach
didn't work. Now that the two steps are separate, we can re-use
the old approach.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/output.c')
0 files changed, 0 insertions, 0 deletions