aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/usb/qmi_wwan.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2013-02-04 02:14:25 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-06 15:53:03 -0500
commit6731d2095bd4aef18027c72ef845ab1087c3ba63 (patch)
treee0937e662eb7fd4ed026590e8dfa6c3abd37b806 /drivers/net/usb/qmi_wwan.c
parentb6ec447df935669d670e82bd66d9d161418efdfa (diff)
tcp: fix for zero packets_in_flight was too broad
There are transients during normal FRTO procedure during which the packets_in_flight can go to zero between write_queue state updates and firing the resulting segments out. As FRTO processing occurs during that window the check must be more precise to not match "spuriously" :-). More specificly, e.g., when packets_in_flight is zero but FLAG_DATA_ACKED is true the problematic branch that set cwnd into zero would not be taken and new segments might be sent out later. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Tested-by: Eric Dumazet <edumazet@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/qmi_wwan.c')
0 files changed, 0 insertions, 0 deletions