Changeset 12031 in vbox
- Timestamp:
- Sep 3, 2008 12:26:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c
r12003 r12031 1505 1505 } 1506 1506 1507 const char *pszAtChar = "@";1508 1507 char *pszModName = DEVICE_NAME; 1509 1508 … … 1529 1528 ldi_handle_t ARPDevHandle; 1530 1529 1530 /* 1531 * @todo Do opening of each stream separately with error checking. 1532 */ 1531 1533 /* 1532 1534 * Open the IP stream as a layered device. … … 1601 1603 && VBOX_SUCCESS(rc2)) 1602 1604 { 1605 /** @todo -XXX- Do each step here with full error checking. I know the if-levels are 1606 * getting ridiculous but it has to be done as failure here is still possible 1607 * (though unlikely) given a terribly ackward user configuration or messed up stack. 1608 */ 1603 1609 /* 1604 1610 * Set global data which will be grabbed by ModOpen. … … 1671 1677 LogRel((DEVICE_NAME ":vboxNetFltSolarisModSetup: module %s or relinking failed. rc=%d rc2=%d rc3=%d.\n", 1672 1678 fAttach ? "insert" : "remove", rc, rc2, rc3)); 1679 1680 /* 1681 * Try failing gracefully during attach. 1682 */ 1683 /** @todo -XXX- see todo above, and remove later accordingly. */ 1684 if (fAttach) 1685 { 1686 strioctl(pVNodeIp, _I_REMOVE, (intptr_t)&StrMod, 0, K_TO_K, kcred, &ret); 1687 strioctl(pVNodeArp, _I_REMOVE, (intptr_t)&ArpStrMod, 0, K_TO_K, kcred, &ret); 1688 vboxNetFltSolarisRelink(pVNodeUDP, &Interface, IpMuxFd, ArpMuxFd); 1689 } 1673 1690 } 1674 1691 }
Note:
See TracChangeset
for help on using the changeset viewer.