VirtualBox

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


Ignore:
Timestamp:
Apr 12, 2010 9:54:20 AM (15 years ago)
Author:
vboxsync
Message:

NAT: warnings + removing of dead code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/kern/uipc_mbuf.c

    r28187 r28191  
    9393# include "slirp.h"
    9494# define atomic_fetchadd_int(var, val) (ASMAtomicAddU32((var), (val)))
    95 # define __DEVOLATILE(type, var)       ((type)ASMAtomicReadU32((var)))
    9695# define atomic_add_int(var, val)      (ASMAtomicAddU32((var), (val)))
    9796#endif /* VBOX */
     
    293292                case EXT_MOD_TYPE:
    294293                case EXT_DISPOSABLE:
     294#ifndef VBOX
     295            /* This code is dead in VBOX port of BSD mbufs (probably will be used for EXT_SBUFS some day)
     296             * @todo once bsd sbufs will be on trunk think about this code.
     297             */
    295298                        *(m->m_ext.ref_cnt) = 0;
    296299                        uma_zfree(zone_ext_refcnt, __DEVOLATILE(u_int *,
    297300                                m->m_ext.ref_cnt));
     301#else
     302            AssertMsgFailed(("unimplemented"));
     303#endif
    298304                        /* FALLTHROUGH */
    299305                case EXT_EXTREF:
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