aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-07-13 11:51:40 +0100
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2008-07-13 11:51:40 +0100
commit2013c7e35aeba39777f9b3eef8a70207b3931152 (patch)
tree5d63ce9f8c512ffd17b8084002e6dc0e0f998b84 /net/dccp/ccids/ccid3.c
parentnetdev: Move atomic queue state bits into netdev_queue. (diff)
downloadlinux-dev-2013c7e35aeba39777f9b3eef8a70207b3931152.tar.xz
linux-dev-2013c7e35aeba39777f9b3eef8a70207b3931152.zip
dccp ccid-3: Fix error in loss detection
The TFRC loss detection code used the wrong loss condition (RFC 4340, 7.7.1): * the difference between sequence numbers s1 and s2 instead of * the number of packets missing between s1 and s2 (one less than the distance). Since this condition appears in many places of the code, it has been put into a separate function, dccp_loss_free(). Further changes: ---------------- * tidied up incorrect typing (it was using `int' for u64/s64 types); * optimised conditional statements for common case of non-reordered packets; * rewrote comments/documentation to match the changes. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
0 files changed, 0 insertions, 0 deletions