diff options
author | Marcelo Ricardo Leitner <[email protected]> | 2018-04-24 18:17:35 -0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-25 13:22:07 -0400 |
commit | 51446780fc33e45cb790c05a7fa2c5bf7e8bc53b (patch) | |
tree | 7e19d85f9b7b9bf2aeb2f230e9e7a774b0896146 /lib/dynamic_debug.c | |
parent | 47b3ba5175e940c9be5fd6aec05d6e7e048ff823 (diff) |
sctp: fix identification of new acks for SFR-CACC
It's currently written as:
if (!tchunk->tsn_gap_acked) { [1]
tchunk->tsn_gap_acked = 1;
...
}
if (TSN_lte(tsn, sack_ctsn)) {
if (!tchunk->tsn_gap_acked) {
/* SFR-CACC processing */
...
}
}
Which causes the SFR-CACC processing on ack reception to never process,
as tchunk->tsn_gap_acked is always true by then. Block [1] was
moved to that position by the commit marked below.
This patch fixes it by doing SFR-CACC processing earlier, before
tsn_gap_acked is set to true.
Fixes: 31b02e154940 ("sctp: Failover transmitted list on transport delete")
Signed-off-by: Marcelo Ricardo Leitner <[email protected]>
Reviewed-by: Xin Long <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions