FreeBSD Bugzilla – Attachment 172639 Details for
Bug 210884
panic: bogus refcnt 0 on lle 0xfffff80004608c00
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
second fix for the return value
210884.diff (text/plain), 600 bytes, created by
Gleb Smirnoff
on 2016-07-18 10:32:13 UTC
(
hide
)
Description:
second fix for the return value
Filename:
MIME Type:
Creator:
Gleb Smirnoff
Created:
2016-07-18 10:32:13 UTC
Size:
600 bytes
patch
obsolete
>Index: sys/kern/kern_timeout.c >=================================================================== >--- sys/kern/kern_timeout.c (revision 302998) >+++ sys/kern/kern_timeout.c (working copy) >@@ -1380,8 +1380,14 @@ again: > if ((c->c_iflags & CALLOUT_PENDING) == 0) { > CTR3(KTR_CALLOUT, "failed to stop %p func %p arg %p", > c, c->c_func, c->c_arg); >+ /* >+ * For not scheduled and not executing callout return >+ * negative value. >+ */ >+ if (cc_exec_curr(cc, direct) != c) >+ cancelled = -1; > CC_UNLOCK(cc); >- return (0); >+ return (cancelled); > } > > c->c_iflags &= ~CALLOUT_PENDING;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210884
:
172201
|
172202
|
172217
|
172254
|
172266
|
172268
|
172272
|
172407
|
172505
|
172634
| 172639