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

           Summary: active priority groups can oscillate if no priority
                    group 0 exists
    Classification: Development
           Product: nwam
           Version: RC4
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
          Severity: major
          Priority: P2
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: alan.maguire at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from amaguire <alan.maguire at sun.com> 2009-10-26 11:09:21 UTC 
---
When we call nwamd_activate_ncus(), we in turn call
nwamd_ncp_check_priority_group() with INVALID_PRIORITY_GROUP (-1) as an arg.
In turn nwamd_ncp_check_priority_group() will start with priority 0, and check
that group (even if it doesn't exist). If it doesn't, the checking we do
succeeds so the nonexistent group is activated. The fix for this is on ln592 of
nwamd_ncp_check_priority_group() - we need to replace "*priority = 0;" with
something like this:

if (!nwamd_ncp_find_next_priority_group(0, priority))
    return (B_FALSE);

This fix finds the first priority group rather than assuming it's 0.

Severity is major as this oscillation confuses the GUI.

-- 
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