Changeset 94976 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 10, 2022 9:43:49 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151388
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet_1_0.cpp
r94969 r94976 1153 1153 if (uVersion > VIRTIONET_SAVEDSTATE_VERSION_3_1_BETA1_LEGACY) 1154 1154 { 1155 /* Zero-out the the Unicast/Multicast filter table */ 1156 memset(&pThis->aMacUnicastFilter[0], 0, VIRTIONET_MAC_FILTER_LEN * sizeof(RTMAC)); 1157 1155 1158 rc = pHlp->pfnSSMGetU8( pSSM, &pThis->fPromiscuous); 1156 1159 AssertRCReturn(rc, rc); … … 1176 1179 rc = pHlp->pfnSSMGetMem(pSSM, pThis->aMacUnicastFilter, cCombinedUnicastMulticastEntries * sizeof(RTMAC)); 1177 1180 AssertRCReturn(rc, rc); 1178 /* Zero-out the remainder of the Unicast/Multicast filter table */1179 memset(&pThis->aMacUnicastFilter[pThis->cUnicastFilterMacs], 0, VIRTIONET_MAC_FILTER_LEN * sizeof(RTMAC));1180 1181 rc = pHlp->pfnSSMGetMem(pSSM, pThis->aVlanFilter, sizeof(pThis->aVlanFilter)); 1181 1182 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.