VirtualBox

Ignore:
Timestamp:
Apr 20, 2010 10:25:22 AM (15 years ago)
Author:
vboxsync
Message:

refined r60215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/tcp_subr.c

    r28482 r28510  
    312312        tcp_last_so = &tcb;
    313313    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))
    316317    {
    317318        sbfree(&so->so_rcv);
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