linux/net/irda/ircomm
Peter Hurley a4ed2e737c net/irda: Fix port open counts
Saving the port count bump is unsafe. If the tty is hung up while
this open was blocking, the port count is zeroed.

Explicitly check if the tty was hung up while blocking, and correct
the port count if not.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-06 02:47:04 -05:00
..
ircomm_core.c irda: Kill set but unused variable 'clen' in ircomm_connect_indication() 2011-05-19 18:52:59 -04:00
ircomm_event.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ircomm_lmp.c irda: Fix error propagation in ircomm_lmp_connect_response() 2011-05-19 18:58:39 -04:00
ircomm_param.c TTY: ircomm, use tty from tty_port 2012-06-12 15:50:24 -07:00
ircomm_ttp.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
ircomm_tty_attach.c serial: add a new helper function 2012-09-05 13:28:35 -07:00
ircomm_tty_ioctl.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
ircomm_tty.c net/irda: Fix port open counts 2013-03-06 02:47:04 -05:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00