diff options
author | Chang Xiangzhong <changxiangzhong@gmail.com> | 2013-11-21 22:56:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-23 23:46:18 +0100 |
commit | d6c416148545bd99d3cc05e672460168245cc156 (patch) | |
tree | 21252007b7d92340e39f3ddb03734f8cf93605f6 /net/hsr/Kconfig | |
parent | gso: handle new frag_list of frags GRO packets (diff) | |
download | linux-d6c416148545bd99d3cc05e672460168245cc156.tar.xz linux-d6c416148545bd99d3cc05e672460168245cc156.zip |
net: sctp: find the correct highest_new_tsn in sack
Function sctp_check_transmitted(transport t, ...) would iterate all of
transport->transmitted queue and looking for the highest __newly__ acked tsn.
The original algorithm would depend on the order of the assoc->transport_list
(in function sctp_outq_sack line 1215 - 1226). The result might not be the
expected due to the order of the tranport_list.
Solution: checking if the exising is smaller than the new one before assigning
Signed-off-by: Chang Xiangzhong <changxiangzhong@gmail.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/Kconfig')
0 files changed, 0 insertions, 0 deletions