VirtualBox

Changeset 15521 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 15, 2008 5:01:40 PM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: handling the situation when we're unable open raw socket.

File:
1 edited

Legend:

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

    r15481 r15521  
    427427                        m_free(pData, m);
    428428                    }
    429                 }
     429                }
     430                else
     431                {
     432                        /*
     433                         * We're freeing the ICMP message, which unable sent or process.
     434                         * That behavior described in rfc 793, we shouldn't notify sender about
     435                         * fail of processing it's ICMP packets
     436                         */
     437                        m_free(pData, m);
     438                        return;
     439                }
    430440# else /* RT_OS_WINDOWS */
    431441                icmp_attach(pData, m);
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