Changeset 36859 in vbox
- Timestamp:
- Apr 27, 2011 4:05:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c
r36730 r36859 1173 1173 { 1174 1174 LogFlow((DEVICE_NAME ":vboxNetFltPortOsSetActive pThis=%p fActive=%d\n", pThis, fActive)); 1175 1176 /* 1177 * Reactivate/quiesce the interface. 1178 */ 1179 PVBOXNETFLTVNIC pVNIC = list_head(&pThis->u.s.hVNICs); 1180 if (fActive) 1181 { 1182 for (; pVNIC != NULL; pVNIC = list_next(&pThis->u.s.hVNICs, pVNIC)) 1183 if (pVNIC->hClient) 1184 mac_rx_set(pVNIC->hClient, vboxNetFltSolarisRecv, pThis); 1185 } 1186 else 1187 { 1188 for (; pVNIC != NULL; pVNIC = list_next(&pThis->u.s.hVNICs, pVNIC)) 1189 if (pVNIC->hClient) 1190 mac_rx_clear(pVNIC->hClient); 1191 } 1192 1193 1175 1194 #if 0 1176 1195 if (fActive) … … 1436 1455 /* 1437 1456 * Set the RX receive function. 1457 * This shouldn't be necessary as vboxNetFltPortOsSetActive() will be invoked after this, but in the future, 1458 * if the guest NIC changes MAC address this may not be followed by a vboxNetFltPortOsSetActive() call, so set it here anyway. 1438 1459 */ 1439 1460 mac_rx_set(pVNIC->hClient, vboxNetFltSolarisRecv, pThis);
Note:
See TracChangeset
for help on using the changeset viewer.