diff options
author | Eric Dumazet <edumazet@google.com> | 2018-11-27 14:42:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-30 13:26:54 -0800 |
commit | 85bdf7db5b53cdcc7a901db12bcb3d0063e3866d (patch) | |
tree | e408a0ec64c3b6dcaf94a4a6d1583a33b26ca248 /net/ipv4 | |
parent | 19119f298bb1f2af3bb1093f5f2a1fed8da94e37 (diff) | |
download | linux-85bdf7db5b53cdcc7a901db12bcb3d0063e3866d.tar.bz2 |
tcp: make tcp_space() aware of socket backlog
Jean-Louis Dupond reported poor iscsi TCP receive performance
that we tracked to backlog drops.
Apparently we fail to send window updates reflecting the
fact that we are under stress.
Note that we might lack a proper window increase when
backlog is fully processed, since __release_sock() clears
sk->sk_backlog.len _after_ all skbs have been processed.
This should not matter in practice. If we had a significant
load through socket backlog, we are in a dangerous
situation.
Reported-by: Jean-Louis Dupond <jean-louis@dupond.be>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Tested-by: Jean-Louis Dupond<jean-louis@dupond.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions