VirtualBox

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


Ignore:
Timestamp:
Oct 1, 2009 3:54:46 PM (15 years ago)
Author:
vboxsync
Message:

NAT: init mbuf header while initialization of mbuf_zone.

File:
1 edited

Legend:

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

    r23462 r23490  
    4141    {
    4242        m = (struct mbuf *)((char *)zone + i*msize);
     43        memset(m, 0, sizeof(struct mbuf));
    4344#ifdef M_BUF_DEBUG
    4445        m->m_hdr.mh_id = pData->mbuf_zone_count * MBUF_ZONE_SIZE + i;
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