- Timestamp:
- Dec 30, 2010 4:17:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r35346 r35382 584 584 585 585 struct Qdisc *pExisting = QDISC_GET(pDev); 586 /* Do not install our qdisc for devices with no TX queues */ 587 if (!pExisting->enqueue) 588 return; 586 589 if (strcmp(pExisting->ops->id, "vboxnetflt")) 587 590 { … … 669 672 if (strcmp(pQdisc->ops->id, "vboxnetflt")) 670 673 { 671 /* Looks like the user has replaced our qdisc manually. */ 672 printk("VBoxNetFlt: Failed to detach qdisc, wrong qdisc: %s\n", 673 pQdisc->ops->id); 674 if (pQdisc->enqueue) 675 { 676 /* Looks like the user has replaced our qdisc manually. */ 677 printk("VBoxNetFlt: Failed to detach qdisc, wrong qdisc: %s\n", 678 pQdisc->ops->id); 679 } 674 680 return; // TODO: Consider returing an error 675 681 }
Note:
See TracChangeset
for help on using the changeset viewer.