~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/Devices/Network/slirp/socket.c

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-05-29 10:09:31 UTC
  • mfrom: (3.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20120529100931-2xayrbh5hyzm6e9p
Tags: 4.1.16-dfsg-1
* New upstream release.
* Drop 37-fix-build-gcc47.patch, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1257
1257
    }
1258
1258
 
1259
1259
    m = icm->im_m;
1260
 
    Assert(m != NULL);
 
1260
    if (!m)
 
1261
    {
 
1262
        LogFunc(("%R[natsock] hasn't stored it's mbuf on sent\n", icm->im_so));
 
1263
        LIST_REMOVE(icm, im_list);
 
1264
        RTMemFree(icm);
 
1265
        return;
 
1266
    }
1261
1267
 
1262
1268
    src = addr->sin_addr.s_addr;
1263
1269
    if (type == ICMP_ECHOREPLY)