VirtualBox

Ignore:
Timestamp:
Jun 22, 2010 12:15:11 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62958
Message:

use m_freem() here as well

File:
1 edited

Legend:

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

    r30363 r30366  
    446446                     * fail of processing it's ICMP packets
    447447                     */
    448                     m_free(pData, m);
     448                    m_freem(pData, m);
    449449                    return;
    450450                }
     
    518518 *                 MUST NOT reply to a multicast/broadcast MAC address.
    519519 *                 MUST reply to only the first fragment.
    520  */
    521 /*
     520 *
    522521 * Send ICMP_UNREACH back to the source regarding msrc.
    523  * mbuf *msrc is used as a template, but is NOT m_free()'d.
    524522 * It is reported as the bad ip packet.  The header should
    525523 * be fully correct and in host byte order.
     
    527525 * packet.  The maximum payload is 576-20(ip hdr)-8(icmp hdr)=548
    528526 *
    529  * @note This function will free msrc!
     527 * @note This function will NOT free msrc!
    530528 */
    531529
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette