]> git.karo-electronics.de Git - linux-beck.git/commit
[TCP]: Remove num_acked>0 checks from cong.ctrl mods pkts_acked
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 31 May 2007 07:16:47 +0000 (10:16 +0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:55 +0000 (16:47 -0700)
commit35e8694198ba94b62df8aa35fa6e52a1cfb86df2
tree9f7d2882f4216478853cc1f520982dae37e9a635
parentaf610b4ca19f513a50d47ea93ed57241383c8081
[TCP]: Remove num_acked>0 checks from cong.ctrl mods pkts_acked

There is no need for such check in pkts_acked because the
callback is not invoked unless at least one segment got fully
ACKed (i.e., the snd_una moved past skb's end_seq) by the
cumulative ACK's snd_una advancement.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_bic.c
net/ipv4/tcp_cubic.c