RE: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-28 Thread Paul Durrant
.org > Cc: Paul Durrant ; Konrad Rzeszutek Wilk > ; Roger Pau > Monné ; Jens Axboe ; Dongli Zhang > > Subject: [PATCH] xen-blkback: fix compatibility bug with single page rings > > From: Paul Durrant > > Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework con

[PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-28 Thread Paul Durrant
From: Paul Durrant Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the behaviour of xen-blkback when connecting to a frontend was: - read 'ring-page-order' - if not present then expect a single page r

RE: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-28 Thread Paul Durrant
; Roger Pau > Monné ; Jens Axboe > Subject: Re: [PATCH] xen-blkback: fix compatibility bug with single page rings > > > > On 1/27/21 2:30 AM, Paul Durrant wrote: > > From: Paul Durrant > > > > Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connec

Re: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Dongli Zhang
On 1/27/21 2:30 AM, Paul Durrant wrote: > From: Paul Durrant > > Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid > inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the > behaviour of xen-blkback when connecting to a frontend was: > > - read 'ring

Re: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Jan Beulich
;Jens Axboe' ; 'Dongli Zhang' >> ; linux-kernel@vger.kernel.org; >> linux-bl...@vger.kernel.org; xen- >> de...@lists.xenproject.org >> Subject: Re: [PATCH] xen-blkback: fix compatibility bug with single page >> rings >> >> On 27.01.2021 12:

RE: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Paul Durrant
; linux-kernel@vger.kernel.org; > linux-bl...@vger.kernel.org; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH] xen-blkback: fix compatibility bug with single page rings > > On 27.01.2021 12:09, Paul Durrant wrote: > >> -Original Message- > >> From: Jan Beu

Re: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Jan Beulich
> ; >> linux-kernel@vger.kernel.org; linux-bl...@vger.kernel.org; >> xen-de...@lists.xenproject.org >> Subject: Re: [PATCH] xen-blkback: fix compatibility bug with single page >> rings >> >> On 27.01.2021 11:30, Paul Durrant wrote: >>> From: Pau

RE: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Paul Durrant
xen-de...@lists.xenproject.org > Subject: Re: [PATCH] xen-blkback: fix compatibility bug with single page rings > > On 27.01.2021 11:30, Paul Durrant wrote: > > From: Paul Durrant > > > > Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid > &g

Re: [PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Jan Beulich
On 27.01.2021 11:30, Paul Durrant wrote: > From: Paul Durrant > > Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid > inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the > behaviour of xen-blkback when connecting to a frontend was: > > - read 'ring-p

[PATCH] xen-blkback: fix compatibility bug with single page rings

2021-01-27 Thread Paul Durrant
From: Paul Durrant Prior to commit 4a8c31a1c6f5 ("xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront"), the behaviour of xen-blkback when connecting to a frontend was: - read 'ring-page-order' - if not present then expect a single page r