From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH] virtio_blk: fix race at module removal Date: Tue, 28 Oct 2014 10:55:04 +1030 Message-ID: <8761f5avmn.fsf@rustcorp.com.au> References: <1414080703-4547-1-git-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Ming Lei , "Michael S. Tsirkin" Cc: Linux Kernel Mailing List , Linux Virtualization List-Id: virtualization@lists.linuxfoundation.org Ming Lei writes: > On Fri, Oct 24, 2014 at 12:12 AM, Michael S. Tsirkin wrote: >> If a device appears while module is being removed, >> driver will get a callback after we've given up >> on the major number. >> >> In theory this means this major number can get reused >> by something else, resulting in a conflict. > > Yes, there is a tiny race window. Applied. Thanks, Rusty.