- Timestamp:
- Feb 26, 2010 7:20:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r26574 r26817 1155 1155 * in some cases once FD_CLOSE engaged on socket it could be flashed latter (for some reasons) 1156 1156 */ 1157 if ( CHECK_FD_SET(so, NetworkEvents, closefds) 1158 || (so->so_close == 1)) 1159 { 1160 so->so_close = 1; /* mark it */ 1157 if ( CHECK_FD_SET(so, NetworkEvents, closefds) 1158 || (so->so_close == 1)) 1159 { 1161 1160 /* 1162 1161 * drain the socket … … 1167 1166 if (ret > 0) 1168 1167 TCP_OUTPUT(pData, sototcpcb(so)); 1169 else 1168 else 1170 1169 break; 1171 1170 } 1171 /* mark the socket for termination _after_ it was drained */ 1172 so->so_close = 1; 1172 1173 CONTINUE(tcp); 1173 1174 }
Note:
See TracChangeset
for help on using the changeset viewer.