DragonFly BSD
DragonFly commits List (threaded) for 2005-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_intr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Nov 2005 10:00:22 -0800 (PST)

:sephe       2005/11/26 06:36:21 PST
:
:DragonFly src repository
:
:  Modified files:
:    sys/kern             kern_intr.c 
:  Log:
:  In unregister_int():
:  - Don't update i_mplock_required, if the unregistering intr record is not found
:  - Use a local variable `rec0' to test whether after the unregistering there
:    are still intr records which require MP lock.  `rec' can't be reused here,
:    since `rec' is the intr record to free, if it is reused in this test, *wrong*
:    intr record will be freed
:  
:  Revision  Changes    Path
:  1.38      +12 -10    src/sys/kern/kern_intr.c
:
:
:http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.37&r2=1.38&f=u

    Doh!  Slap me on the head.  Nice catch.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]