[ros-bugs] [Bug 4428] New: [PATCH] Fix bugcheck in NdisMFreeSharedMemory (happend with 3Com 3C905 TX-M)

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Mon Apr 27 21:48:56 CEST 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4428

           Summary: [PATCH] Fix bugcheck in NdisMFreeSharedMemory (happend
                    with 3Com 3C905 TX-M)
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Networking
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: netzimme at aim.com
         QAContact: ros-bugs at reactos.org


The call to NdisMFreeSharedMemory span a thread witch access 
Memory->AdapterObject in NdisMFreeSharedMemoryPassive().
But the driver call at next the function NdisMFreeMapRegisters.
In this function Adapter->NdisMiniportBlock.SystemAdapterObject 
is freed so the the memory at Memory->AdapterObject is no
longer valid. 

This patch call NdisMFreeSharedMemoryPassive direct when 
IRQL=PASSIV_LEVEL so that we not need a thread.

Perhapse ther is a better solution but it work on real hardware with
3C905 TX M.


Daniel Zimmermann


-- 
Configure bugmail: http://www.reactos.org/bugzilla/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.


More information about the Ros-bugs mailing list