VirtualBox

Changeset 13032 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 7, 2008 9:25:37 AM (16 years ago)
Author:
vboxsync
Message:

Solaris/VBoxNetFlt: avoid touching q_first on put procedures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r12941 r13032  
    10001000    {
    10011001        /*
    1002          * Pass foward high priority messages or when there's no flow control
    1003          * on an empty queue, otherwise queue them.
     1002         * Pass foward messages when adjacent module can receive, otherwise queue them.
    10041003         */
    1005         if (   queclass(pMsg) == QPCTL
    1006             || (pQueue->q_first == NULL && canputnext(pQueue)))
    1007         {
     1004        if (canputnext(pQueue)))
    10081005            putnext(pQueue, pMsg);
    1009         }
    10101006        else
    10111007            putbq(pQueue, pMsg);
     
    10311027    {
    10321028        /*
    1033          * Pass foward high priority messages or when there's no flow control
    1034          * on an empty queue, otherwise queue them.
     1029         * Pass foward messages when adjacent module can receive, otherwise queue them.
    10351030         */
    1036         if (   queclass(pMsg) == QPCTL
    1037             || (pQueue->q_first == NULL && canputnext(pQueue)))
    1038         {
     1031        if (canputnext(pQueue)))
    10391032            putnext(pQueue, pMsg);
    1040         }
    10411033        else
    10421034            putbq(pQueue, pMsg);
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