diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-30 09:16:57 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-30 09:16:57 -0300 |
commit | 39fd693a18f8ef73b1268f2321393d5ca6101e89 (patch) | |
tree | b1bae394d01f4c868d315c2d7a2f7f7f0539a57b /sys/kern/kern_kthread.c | |
parent | 29ebd1247162a77db08e5e2e00d033220ec807fe (diff) | |
parent | de43eec3e10416a7e9f3a7565f70e1ba2d265384 (diff) | |
download | FreeBSD-src-39fd693a18f8ef73b1268f2321393d5ca6101e89.zip FreeBSD-src-39fd693a18f8ef73b1268f2321393d5ca6101e89.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/kern/kern_kthread.c')
-rw-r--r-- | sys/kern/kern_kthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_kthread.c b/sys/kern/kern_kthread.c index fb46025..4c77f4f 100644 --- a/sys/kern/kern_kthread.c +++ b/sys/kern/kern_kthread.c @@ -272,6 +272,7 @@ kthread_add(void (*func)(void *), void *arg, struct proc *p, bzero(&newtd->td_startzero, __rangeof(struct thread, td_startzero, td_endzero)); newtd->td_su = NULL; + newtd->td_sleeptimo = 0; bcopy(&oldtd->td_startcopy, &newtd->td_startcopy, __rangeof(struct thread, td_startcopy, td_endcopy)); |