Changeset 40120 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Feb 14, 2012 7:22:20 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76261
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r39556 r40120 505 505 */ 506 506 ret = soread(pData, so); 507 tp->snd_up = tp->snd_una + SBUF_LEN(&so->so_snd); 508 tp->t_force = 1; 509 tcp_output(pData, tp); 510 tp->t_force = 0; 507 if (RT_LIKELY(ret > 0)) 508 { 509 tp->snd_up = tp->snd_una + SBUF_LEN(&so->so_snd); 510 tp->t_force = 1; 511 tcp_output(pData, tp); 512 tp->t_force = 0; 513 } 511 514 } 512 515 #ifndef VBOX_WITH_SLIRP_BSD_SBUF
Note:
See TracChangeset
for help on using the changeset viewer.