Re: [PATCH] cryptodev: Handle unexpected request to avoid crash

2023-06-24 Thread zhenwei pi
Hi Michael Could you please apply this patch? On 5/26/23 11:38, Lei He wrote: On Apr 27, 2023, at 16:05, zhenwei pi wrote: Generally guest side should discover which services the device is able to offer, then do requests on device. However it's also possible to break this rule in a guest.

Re: [PATCH] cryptodev: Handle unexpected request to avoid crash

2023-05-25 Thread Lei He
> On Apr 27, 2023, at 16:05, zhenwei pi wrote: > > Generally guest side should discover which services the device is > able to offer, then do requests on device. > > However it's also possible to break this rule in a guest. Handle > unexpected request here to avoid NULL pointer dereference. >

[PATCH] cryptodev: Handle unexpected request to avoid crash

2023-04-27 Thread zhenwei pi
Generally guest side should discover which services the device is able to offer, then do requests on device. However it's also possible to break this rule in a guest. Handle unexpected request here to avoid NULL pointer dereference. Fixes: e7a775fd ('cryptodev: Account statistics') Cc: Gonglei C