VirtualBox

Changeset 35859 in vbox for trunk


Ignore:
Timestamp:
Feb 7, 2011 4:25:34 AM (14 years ago)
Author:
vboxsync
Message:

NAT/udp: free after icmp_error call.

File:
1 edited

Legend:

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

    r34103 r35859  
    298298              errno, strerror(errno), &ip->ip_dst));
    299299        icmp_error(pData, m, ICMP_UNREACH, ICMP_UNREACH_NET, 0, strerror(errno));
    300         /* in case we receive ICMP on this socket we'll aware that ICMP has been already sent to host*/
     300        m_freem(pData, m);
    301301        so->so_m = NULL;
     302        return;
    302303    }
    303304
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