VirtualBox

Changeset 32740 in vbox


Ignore:
Timestamp:
Sep 23, 2010 9:45:16 PM (14 years ago)
Author:
vboxsync
Message:

vboxNetFltDarwinMBufFromSG: Removed obsolete assertion (triggers when intnetR0TrunkIfSendGsoFallback sends stuff).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r30112 r32740  
    328328
    329329    /*
    330      * We can't make use of the physical addresses on darwin because the way the
    331      * mbuf / cluster stuffe works (see mbuf_data_to_physical and mcl_to_paddr).
    332      * So, because we're lazy, we will ASSUME that all SGs coming from INTNET
    333      * will only contain one single segment.
    334      */
    335     Assert(pSG->cSegsUsed == 1);
    336     Assert(pSG->cbTotal == pSG->aSegs[0].cb);
    337     Assert(pSG->cbTotal > 0);
    338 
    339     /*
    340330     * We need some way of getting back to our instance data when
    341331     * the mbuf is freed, so use pvUserData for this.
     
    362352     * 100%, even if it involes some extra work (alloc + copy) we really wished
    363353     * to avoid.
     354     *
     355     * Note. We can't make use of the physical addresses on darwin because the
     356     *       way the mbuf / cluster stuffe works (see mbuf_data_to_physical and
     357     *       mcl_to_paddr).
    364358     */
    365359    mbuf_t pPkt = NULL;
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