- Lower IRQL in error case of IoAllocateDriverObjectExtension.

svn path=/trunk/; revision=8794
This commit is contained in:
Filip Navara 2004-03-19 17:37:57 +00:00
parent be092c4712
commit 91c3d64bf5

View file

@ -1,4 +1,4 @@
/* $Id: driver.c,v 1.36 2004/03/14 17:10:48 navaraf Exp $ /* $Id: driver.c,v 1.37 2004/03/19 17:37:57 navaraf Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -1280,8 +1280,11 @@ IoAllocateDriverObjectExtension(
{ {
if (DriverExtensions->ClientIdentificationAddress == if (DriverExtensions->ClientIdentificationAddress ==
ClientIdentificationAddress) ClientIdentificationAddress)
{
KfLowerIrql(OldIrql);
return STATUS_OBJECT_NAME_COLLISION; return STATUS_OBJECT_NAME_COLLISION;
} }
}
DriverObject->DriverSection = NewDriverExtension; DriverObject->DriverSection = NewDriverExtension;