Re: [Xen-devel] Ping: [PATCH] x86/memshr: properly check grant references

2016-11-22 Thread Tamas K Lengyel
On Tue, Nov 22, 2016 at 3:12 AM, Jan Beulich wrote: > >>> On 14.11.16 at 11:34, wrote: > > They need to be range checked against the current table limit in any > > event. > > > > Reported-by: Huawei PSIRT > > > > Move the code to where it belongs, eliminating a number of duplicate > > definitio

Re: [Xen-devel] Ping: [PATCH] x86/memshr: properly check grant references

2016-11-22 Thread Wei Liu
On Tue, Nov 22, 2016 at 09:17:43AM -0700, Jan Beulich wrote: > >>> On 22.11.16 at 17:13, wrote: > > On Tue, Nov 22, 2016 at 3:12 AM, Jan Beulich wrote: > > > >> >>> On 14.11.16 at 11:34, wrote: > >> > They need to be range checked against the current table limit in any > >> > event. > >> > > >>

Re: [Xen-devel] Ping: [PATCH] x86/memshr: properly check grant references

2016-11-22 Thread Jan Beulich
>>> On 22.11.16 at 17:13, wrote: > On Tue, Nov 22, 2016 at 3:12 AM, Jan Beulich wrote: > >> >>> On 14.11.16 at 11:34, wrote: >> > They need to be range checked against the current table limit in any >> > event. >> > >> > Reported-by: Huawei PSIRT >> > >> > Move the code to where it belongs, el

[Xen-devel] Ping: [PATCH] x86/memshr: properly check grant references

2016-11-22 Thread Jan Beulich
>>> On 14.11.16 at 11:34, wrote: > They need to be range checked against the current table limit in any > event. > > Reported-by: Huawei PSIRT > > Move the code to where it belongs, eliminating a number of duplicate > definitions. Add locking. Produce proper error codes, and consume them > inst