The notification routine can change the list, as there is no lock involved.

Therefore, you should grab the next entry before notifying the driver, to 
maintain a consistent list state.

--
Best regards,
Alex Ionescu

On 2011-06-02, at 1:43 PM, pschweit...@svn.reactos.org wrote:

> +        DriverNotificationRoutine(DeviceObject, TRUE);
> +
> +        /* Go to the next entry */
> +        ListEntry = ListEntry->Flink;


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to