Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: serial: omninet: fix reference leaks at open
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: 4a90f09 ("tty: usb-serial krefs") Cc: stable <[email protected]> # 2.6.28 Signed-off-by: Johan Hovold <[email protected]>
- Loading branch information