diff options
author | 2012-02-12 18:37:10 +0000 | |
---|---|---|
committer | 2012-02-13 01:00:22 -0500 | |
commit | daef52bab1fd26e24e8e9578f8fb33ba1d0cb412 (patch) | |
tree | 93c2cb04a8861280aefcb94961e81e4d5a580095 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: allow tcp_sacktag_one() to tag ranges not aligned with skbs (diff) | |
download | linux-dev-daef52bab1fd26e24e8e9578f8fb33ba1d0cb412.tar.xz linux-dev-daef52bab1fd26e24e8e9578f8fb33ba1d0cb412.zip |
tcp: fix range tcp_shifted_skb() passes to tcp_sacktag_one()
Fix the newly-SACKed range to be the range of newly-shifted bytes.
Previously - since 832d11c5cd076abc0aa1eaf7be96c81d1a59ce41 -
tcp_shifted_skb() incorrectly called tcp_sacktag_one() with the start
and end sequence numbers of the skb it passes in set to the range just
beyond the range that is newly-SACKed.
This commit also removes a special-case adjustment to lost_cnt_hint in
tcp_shifted_skb() since the pre-existing adjustment of lost_cnt_hint
in tcp_sacktag_one() now properly handles this things now that the
correct start sequence number is passed in.
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions