usb-serial: fix oti6858.c segfault in termios handling
authorThomas Viehmann <tv@beamnet.de>
Wed, 25 Jul 2007 08:21:21 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:48 +0000 (14:27 -0700)
commita66639ab286250fe66b960c34ac91d0b2ee58a79
tree80eb5386a7b1446821a45d7e4cb607c647c83bd0
parent0bd307e1b950e0aca1dbbc2b76f542f9c96b9a95
usb-serial: fix oti6858.c segfault in termios handling

The oti6858 usb serial driver should use kernel_termios_to_user_termios/
user_termios_to_kernel_termios to avoid segfaults because the kernel
uses a structure differing from that of user space with a different
size.

Signed-off-by: Thomas Viehmann <tv@beamnet.de>
CC: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/oti6858.c