]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: fix D-SACK cwnd handling
authorRyousei Takano <takano-ryousei@aist.go.jp>
Fri, 26 Oct 2007 11:27:59 +0000 (04:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2007 11:27:59 +0000 (04:27 -0700)
commit0a352e901ea35159fe186a7f5f85d5e3f08fddb3
tree6c05886d3ee3ddc30f6b3fce3b6acb27eeab4300
parentee829d7181057dba8ecc0647b86fe7e0a7395f3e
[TCP]: fix D-SACK cwnd handling

In the current net-2.6 kernel, handling FLAG_DSACKING_ACK is broken.
The flag is cleared to 1 just after FLAG_DSACKING_ACK is set.

        if (found_dup_sack)
                flag |= FLAG_DSACKING_ACK;
:
flag = 1;

To fix it, this patch introduces a part of the tcp_sacktag_state patch:
http://marc.info/?l=linux-netdev&m=119210560431519&w=2

Signed-off-by: Ryousei Takano <takano-ryousei@aist.go.jp>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c