From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755168AbdESM6u (ORCPT ); Fri, 19 May 2017 08:58:50 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:40390 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbdESM6t (ORCPT ); Fri, 19 May 2017 08:58:49 -0400 Date: Fri, 19 May 2017 13:58:40 +0100 From: Alan Cox To: Sascha Hauer Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de, Greg Kroah-Hartman , Jiri Slaby Subject: Re: tty: closing n_gsm line discipline always times out Message-ID: <20170519135840.46da3df0@alans-desktop> In-Reply-To: <20170518065059.keq42z4g64ymaeaw@pengutronix.de> References: <20170517134456.hx2dp6zszv6wyr6y@pengutronix.de> <20170517162358.14c0b011@alans-desktop> <20170518065059.keq42z4g64ymaeaw@pengutronix.de> Organization: Intel Corporation X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This option doesn't sound very nice because then userspace needs to know > details of the protocol that it just wants to use. Also the cleanup > won't be done if the userspace process is killed for some reason. The same is basically true of an ioctl unfortunately. Alan