http://defect.opensolaris.org/bz/show_bug.cgi?id=13080


amaguire <alan.maguire at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|NEW                         |CAUSEKNOWN
                 CC|                            |alan.maguire at sun.com
         AssignedTo|nwam-dev at opensolaris.org    |alan.maguire at sun.com


--- Comment #2 from amaguire <alan.maguire at sun.com> 2009-12-08 11:37:15 UTC 
---
(In reply to comment #1)
> Assign to daemon to take a look first.

Managed to reproduce this with bge0/1 in the same exclusive priority-group. I
think the problem here is we need to actively disable unneeded NCUs in the
exclusive priority group not only when we're activating a priority group, but
also when we check it. In nwamd_ncu_check_or_activate() we only disable the NCU
if we are in the process of activating the priority group:

if (wa->activate_or_deactivate && wa->activate) {
...

    } else if (state == NWAM_STATE_ONLINE &&
        if_state == NWAM_STATE_ONLINE &&
        wa->exclusive_online_ncus > 1) {
        nlog(LOG_DEBUG, "nwamd_ncu_check_or_activate: "
            "moving NCU %s to online* since another "
            "NCU is already active",
            name);                
        nwamd_object_set_state(NWAM_OBJECT_TYPE_NCU,
               name, NWAM_STATE_ONLINE_TO_OFFLINE,
               NWAM_AUX_STATE_CONDITIONS_NOT_MET);
    }

This code block only gets executed on activating a priority group, but when we
activate the priority group we want to try and activate all NCUs in it and then
weed out the unneeded ones at the next check.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to