diff options
| author | Johan Hovold <johan@kernel.org> | 2017-03-06 17:36:38 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:53:08 +0200 |
| commit | 4be7f17c4b5703167f5f151a7edaa6515480775f (patch) | |
| tree | 1e71677304b8e948af6e83f8359c5a5079b1f386 /include/linux/batch.h | |
| parent | 74c12dc5eca262352e17c1c90a00d755c3a19176 (diff) | |
USB: serial: omninet: fix reference leaks at open
commit 30572418b445d85fcfe6c8fe84c947d2606767d8 upstream.
This driver needlessly took another reference to the tty on open, a
reference which was then never released on close. This lead to not just
a leak of the tty, but also a driver reference leak that prevented the
driver from being unloaded after a port had once been opened.
Fixes: 4a90f09b20f4 ("tty: usb-serial krefs")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/batch.h')
0 files changed, 0 insertions, 0 deletions
