VirtualBox

Changeset 41198 in vbox for trunk/src


Ignore:
Timestamp:
May 8, 2012 4:14:19 AM (13 years ago)
Author:
vboxsync
Message:

NAT: deal with ICMP responses for which no sent mbuf has been stored.

File:
1 edited

Legend:

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

    r41197 r41198  
    13671367
    13681368    m = icm->im_m;
    1369     Assert(m != NULL);
     1369    if (!m)
     1370    {
     1371        LogFunc(("%R[natsock] hasn't stored it's mbuf on sent\n", icm->im_so));
     1372        LIST_REMOVE(icm, im_list);
     1373        RTMemFree(icm);
     1374        return;
     1375    }
    13701376
    13711377    src = addr->sin_addr.s_addr;
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