summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2009-03-01 00:21:36 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-01 00:21:36 -0800
commit9ec06ff57a9badef3b6b019f35efc6b21fc27d03 (patch)
tree1a39f13a05a84aabbce39b8260283e36a9f84e61 /net/core/dev.c
parent709ab3261e3ed789c0bb31c6ab53c9eccb276522 (diff)
downloadop-kernel-dev-9ec06ff57a9badef3b6b019f35efc6b21fc27d03.zip
op-kernel-dev-9ec06ff57a9badef3b6b019f35efc6b21fc27d03.tar.gz
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/core/dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud