RE: [EXT] Re: [PATCH v2] cryptodev: fix device socket ID type

2023-07-05 Thread Akhil Goyal
> 05/07/2023 11:36, Ciara Power пишет: > > The socket ID field for a cryptodev device data was unsigned int. > > Due to recent changes to the default device socket ID, > > this caused an issue when the socket ID was unknown and set to -1. > > The device socket ID wrapped around to 255, > > and cau

Re: [PATCH v2] cryptodev: fix device socket ID type

2023-07-05 Thread Konstantin Ananyev
05/07/2023 11:36, Ciara Power пишет: The socket ID field for a cryptodev device data was unsigned int. Due to recent changes to the default device socket ID, this caused an issue when the socket ID was unknown and set to -1. The device socket ID wrapped around to 255, and caused errors when alloc

[PATCH v2] cryptodev: fix device socket ID type

2023-07-05 Thread Ciara Power
The socket ID field for a cryptodev device data was unsigned int. Due to recent changes to the default device socket ID, this caused an issue when the socket ID was unknown and set to -1. The device socket ID wrapped around to 255, and caused errors when allocating memory. Changing this field type