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]
Date:	Tue, 09 Jul 2013 12:56:32 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	khlebnikov@...nvz.org
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	dmitry.tarnyagin@...kless.no
Subject: Re: [PATCH] drivers/net: caif: fix wrong rtnl_is_locked() usage

From: Konstantin Khlebnikov <khlebnikov@...nvz.org>
Date: Mon, 08 Jul 2013 11:23:04 +0400

> rtnl_is_locked() doesn't check who holds this lock, it just tells that it's
> locked right now. if caif::ldisc_close really can be called under rtrnl_lock
> then it should release net device in other context because there is no way
> to grab rtnl_lock without deadlock.
> 
> This patch adds work which releases these devices. Also this patch fixes calling
> dev_close/unregister_netdevice without rtnl_lock from caif_ser_exit().
> 
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ