Changeset 28510 in vbox for trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
- Timestamp:
- Apr 20, 2010 10:25:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r28482 r28510 312 312 tcp_last_so = &tcb; 313 313 closesocket(so->s); 314 /* (vvl) opening listening socket we do not reserve sbufs for it */ 315 if ((so->so_state & SS_FACCEPTCONN) == 0) 314 /* Avoid double free if the socket is listening and therefore doesn't have 315 * any sbufs reserved. */ 316 if (!(so->so_state & SS_FACCEPTCONN)) 316 317 { 317 318 sbfree(&so->so_rcv);
Note:
See TracChangeset
for help on using the changeset viewer.