VirtualBox

Ignore:
Timestamp:
Apr 10, 2012 3:07:40 PM (13 years ago)
Author:
vboxsync
Message:

VBoxNetFlt: ignore loopbacked packets (#4806)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r40806 r40854  
    780780        return 0;
    781781
     782    if (pBuf->pkt_type == PACKET_LOOPBACK)
     783    {
     784        /*
     785         * We are not interested in loopbacked packets as they will always have
     786         * another copy going to the wire.
     787         */
     788        Log2(("vboxNetFltLinuxPacketHandler: dropped loopback packet (cb=%u)\n", pBuf->len));
     789        return 0;
     790    }
     791
    782792    pThis = VBOX_FLT_PT_TO_INST(pPacketType);
    783793    pDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *);
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