git: DragonFly_RELEASE_3_6 callout: Fix callout_terminate() if the callout_reset() is never called

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Dec 10 08:06:47 PST 2013


commit 97ed0a4b7824e8bf09b358aeb12a0a23082545b0
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Dec 10 23:38:36 2013 +0800

    callout: Fix callout_terminate() if the callout_reset() is never called
    
    If callout_reset() is never called, then c_gd will be NULL

Summary of changes:
 sys/kern/kern_timeout.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/97ed0a4b7824e8bf09b358aeb12a0a23082545b0


-- 
DragonFly BSD source repository



More information about the Commits mailing list