aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-06-25 14:41:30 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-25 11:24:26 -0700
commit922b13565b6a826a925f9f91f053dc9cb0d6210e (patch)
tree4c5680f084b62afd5d0f2e6247fd500277610c65 /include/linux/interrupt.h
parentacm: Return ENODEV instead of EINVAL when trying to open ACM device. (diff)
downloadwireguard-linux-922b13565b6a826a925f9f91f053dc9cb0d6210e.tar.xz
wireguard-linux-922b13565b6a826a925f9f91f053dc9cb0d6210e.zip
acm: Fix oops when closing ACM tty device right after open has failed.
This commit 10077d4a6674f535abdbe25cdecb1202af7948f1 has stopped checking if there was a valid acm device associated to the tty, which is not true right after open fails and tty subsystem tries to close the device. As an example, open fails with a non-existing device, when probe has never been called, because the device has never been plugged. This is common in systems with static modules and no udev. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions