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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130203.160558.164595629505218847.davem@davemloft.net>
Date:	Sun, 03 Feb 2013 16:05:58 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	nhorman@...driver.com
Cc:	netdev@...r.kernel.org, ivecera@...hat.com,
	bhutchings@...arflare.com, romieu@...zoreil.com,
	eric.dumazet@...il.com
Subject: Re: [PATCH v4] netpoll: protect napi_poll and poll_controller
 during dev_[open|close]

From: Neil Horman <nhorman@...driver.com>
Date: Sat,  2 Feb 2013 13:51:16 -0500

> I can't say Im a huge fan of returning -EBUSY in open/close, but I
> like it better than busy waiting while the poll path completes.

Sorry Neil, this is a show stopper for me.

There is no reason why, just because of bad timing, a device open or
close that would normally succeed, should fail.  And this situation is
only being created because the mutual exclusion and context handling
is "hard", well that's too bad :-)
--
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