mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
CAPI: Issue synchronous hangup on capincci_free_minor
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>
This commit is contained in:
parent
2c8df72259
commit
30bced91d9
@ -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_vhangup(tty);
|
||||
tty_kref_put(tty);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user