VirtualBox

Changeset 38936 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 5, 2011 6:31:08 AM (13 years ago)
Author:
vboxsync
Message:

IntNet: Update MAC dst addr before comparing it to host's addr (#5905).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r38628 r38936  
    14721472                pDstTab->aIfs[iIfDst].pIf            = pIf;
    14731473                pDstTab->aIfs[iIfDst].fReplaceDstMac = fExact;
     1474                /*
     1475                 * We need to compare an updated destination address against host's address.
     1476                 * If we compare the address extracted from the packet it will match host's MAC
     1477                 * and will be passed up the stack which will cause duplicates if IP forwarding
     1478                 * is enabled on the host (see #5905).
     1479                 */
     1480                if (fExact)
     1481                    pDstMacAddr = &pIf->MacAddr;
    14741482                intnetR0BusyIncIf(pIf);
    14751483            }
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