aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChang Xiangzhong <[email protected]>2013-11-21 22:56:28 +0100
committerDavid S. Miller <[email protected]>2013-11-23 14:46:18 -0800
commitd6c416148545bd99d3cc05e672460168245cc156 (patch)
tree21252007b7d92340e39f3ddb03734f8cf93605f6 /lib/memory-notifier-error-inject.c
parent9d8506cc2d7ea1f911c72c100193a3677f6668c3 (diff)
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 <[email protected]> Acked-by: Vlad Yasevich <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions