Re: [dpdk-dev] [PATCH] crypto/scheduler: fix uninitialized capability structure

2017-04-19 Thread De Lara Guarch, Pablo
> -Original Message- > From: Zhang, Roy Fan > Sent: Wednesday, April 19, 2017 4:41 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org > Subject: RE: [PATCH] crypto/scheduler: fix uninitialized capability structure > > > -Original Message- > > From: De Lara Guarch, Pablo > > Sent:

Re: [dpdk-dev] [PATCH] crypto/scheduler: fix uninitialized capability structure

2017-04-19 Thread Zhang, Roy Fan
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, April 19, 2017 4:02 PM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] crypto/scheduler: fix uninitialized capability structure > > Capability information is updated as slaves are atta

[dpdk-dev] [PATCH] crypto/scheduler: fix uninitialized capability structure

2017-04-19 Thread Pablo de Lara
Capability information is updated as slaves are attached, but if this information is requested via rte_cryptodev_info_get() when no slaves have been attached, the structure would not be initialized, leading to a potential segmentation fault. Therefore, the structure should be initialized with no c