VirtualBox

Ignore:
Timestamp:
Sep 23, 2009 3:29:13 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52716
Message:

NAT: right msize calculation.

File:
1 edited

Legend:

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

    r23202 r23242  
    3535     */
    3636    msize = (if_mtu>if_mru ? if_mtu : if_mru)
    37           + sizeof(struct m_hdr );
     37          + sizeof(struct m_hdr) + sizeof(void *)   /*pointer to the backstore*/
     38          + if_maxlinkhdr ;
    3839}
    3940
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