summaryrefslogtreecommitdiff
path: root/net/ipv4/protocol.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2009-03-01 08:21:36 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-03-01 08:21:36 (GMT)
commit9ec06ff57a9badef3b6b019f35efc6b21fc27d03 (patch)
tree1a39f13a05a84aabbce39b8260283e36a9f84e61 /net/ipv4/protocol.c
parent709ab3261e3ed789c0bb31c6ab53c9eccb276522 (diff)
downloadlinux-9ec06ff57a9badef3b6b019f35efc6b21fc27d03.tar.xz
tcp: fix retrans_out leaks
There's conflicting assumptions in shifting, the caller assumes that dupsack results in S'ed skbs (or a part of it) for sure but never gave a hint to tcp_sacktag_one when dsack is actually in use. Thus DSACK retrans_out -= pcount was not taken and the counter became out of sync. Remove obstacle from that information flow to get DSACKs accounted in tcp_sacktag_one as expected. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Tested-by: Denys Fedoryshchenko <denys@visp.net.lb> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/protocol.c')
0 files changed, 0 insertions, 0 deletions