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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue