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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Dec 10 08:03:39 PST 2013


commit 10bb45afc0a9286bb146666e2e29294916f5226d
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/10bb45afc0a9286bb146666e2e29294916f5226d


-- 
DragonFly BSD source repository



More information about the Commits mailing list