summaryrefslogtreecommitdiff
path: root/include/asm-generic/hardirq.h
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2011-02-07 12:57:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-02-21 19:31:18 (GMT)
commitc24f691b56107feeba076616982093ee2d3c8fb5 (patch)
tree90317e187a511635fdb8682384fc8eb99f1de21f /include/asm-generic/hardirq.h
parent5f04d5068a90602b93a7953e9a47c496705c6976 (diff)
downloadlinux-fsl-qoriq-c24f691b56107feeba076616982093ee2d3c8fb5.tar.xz
tcp: undo_retrans counter fixes
Fix a bug that undo_retrans is incorrectly decremented when undo_marker is not set or undo_retrans is already 0. This happens when sender receives more DSACK ACKs than packets retransmitted during the current undo phase. This may also happen when sender receives DSACK after the undo operation is completed or cancelled. Fix another bug that undo_retrans is incorrectly incremented when sender retransmits an skb and tcp_skb_pcount(skb) > 1 (TSO). This case is rare but not impossible. Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/hardirq.h')
0 files changed, 0 insertions, 0 deletions