projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8df72
)
CAPI: Issue synchronous hangup on capincci_free_minor
author
Jan Kiszka
<jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:31 +0000
(10:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 17 Feb 2010 00:01:29 +0000
(16:01 -0800)
capincci_free and, thus, capincci_free_minor runs in process context, so
we can issue the hangup of the associated TTY synchronously.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/capi/capi.c
b/drivers/isdn/capi/capi.c
index acc811bfe8e0df467753f7ff379e818e2b6bcf1d..b382edeeee1887905f1ef82b141aac4cb7cde392 100644
(file)
--- a/
drivers/isdn/capi/capi.c
+++ b/
drivers/isdn/capi/capi.c
@@
-351,7
+351,7
@@
static void capincci_free_minor(struct capincci *np)
#ifdef _DEBUG_REFCOUNT
printk(KERN_DEBUG "reset mp->nccip\n");
#endif
- tty_hangup(tty);
+ tty_
v
hangup(tty);
tty_kref_put(tty);
}