lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080730235130.32d36046@lxorguk.ukuu.org.uk>
Date:	Wed, 30 Jul 2008 23:51:30 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Eugeniy Meshcheryakov <eugen@...ian.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] try harder to load tty ldisc driver

On Tue, 29 Jul 2008 22:45:12 +0200
Eugeniy Meshcheryakov <eugen@...ian.org> wrote:

> Currently function tty_ldisc_get() tries to load an ldisc driver module
> only when tty_ldisc_try_get() returns -EAGAIN. This happens only if
> module is being unloaded. If ldisc module is not loaded
> tty_ldisc_try_get() returns -EINVAL and this case is not handled in
> tty_ldisc_get(), so request_module() is not called.
> 
> Attached patch fixes this by calling request_module() if
> tty_ldisc_try_get() returned any error code.
> 
> I discovered this when my UMTS modem stopped working with 2.6.27-rc1
> because module ppp_async was not loaded.
> 
> Signed-off-by: Eugeniy Meshcheryakov <eugen@...ian.org>

Signed-off-by: Alan Cox <alan@...hat.com>

(And forwarded to the stable tree too)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ