VirtualBox

Changeset 50192 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 23, 2014 5:14:52 PM (11 years ago)
Author:
vboxsync
Message:

lwip: Sync with git master up to
commit 32b1a9fc8a335c4c771023dd8ace9db9fd814ad1
Date: Sat Jan 18 21:40:17 2014 +0100

tcp_rexmit_rto: update pcb->unsent_oversize for TCP_OVERSIZE_DBGCHECK
to match assertion in tcp_write().

Location:
trunk/src/VBox/Devices/Network/lwip-new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/CHANGELOG

    r50189 r50192  
    8484
    8585 ++ Bugfixes:
     86
     87  2014-01-18: Brian Fahs
     88  * tcp_out.c: patch #8237: tcp_rexmit_rto fails to update pcb->unsent_oversize
     89    when necessary
    8690
    8791  2014-01-17: Grant Erickson, Jay Logue, Simon Goldschmidt
  • trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_out.c

    r50027 r50192  
    12631263  /* concatenate unsent queue after unacked queue */
    12641264  seg->next = pcb->unsent;
     1265#if TCP_OVERSIZE && TCP_OVERSIZE_DBGCHECK
     1266  /* if last unsent changed, we need to update unsent_oversize */
     1267  if (pcb->unsent == NULL) {
     1268    pcb->unsent_oversize = seg->oversize_left;
     1269  }
     1270#endif /* TCP_OVERSIZE && TCP_OVERSIZE_DBGCHECK*/
    12651271  /* unsent queue is the concatenated queue (of unacked, unsent) */
    12661272  pcb->unsent = pcb->unacked;
    12671273  /* unacked queue is now empty */
    12681274  pcb->unacked = NULL;
    1269   /* last unsent hasn't changed, no need to reset unsent_oversize */
    12701275
    12711276  /* increment number of retransmissions */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette