[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6998d80-99f1-ffa4-f4cf-5c9bb938587d@suse.com>
Date: Wed, 4 Dec 2019 11:36:29 +0100
From: Jürgen Groß <jgross@...e.com>
To: Paul Durrant <pdurrant@...zon.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org
Cc: Jan Beulich <jbeulich@...e.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Stefano Stabellini <sstabellini@...nel.org>
Subject: Re: [PATCH v3 1/2] xen/xenbus: reference count registered modules
On 02.12.19 12:41, Paul Durrant wrote:
> To prevent a PV driver module being removed whilst attached to its other
> end, and hence xenbus calling into potentially invalid text, take a
> reference on the module before calling the probe() method (dropping it if
> unsuccessful) and drop the reference after returning from the remove()
> method.
>
> Suggested-by: Jan Beulich <jbeulich@...e.com>
> Signed-off-by: Paul Durrant <pdurrant@...zon.com>
Pushed to xen/tip.git for-linus-5.5b
Juergen
Powered by blists - more mailing lists