[dpdk-stable] [PATCH] net/qede: fix crash when configure fails

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 12 13:09:48 CET 2018


On 11/10/2018 12:39 AM, Mody, Rasesh wrote:
>> From: Timothy Redaelli <tredaelli at redhat.com>
>> Sent: Friday, November 09, 2018 7:46 AM
>>
>> Currently, if configuration fails (for example if a 100G card is used with an odd
>> number of RX/TX queues) QEDE crashes due to a null pointer dereference.
>>
>> This commit fixes it by checking that the pointer is not NULL before using it.
>>
>> Fixes: 7105b24f4bb8 ("net/qede: fix memory alloc for multiple port reconfig")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
> 
> Fix looks good to me.
> 
> Acked-by: Rasesh Mody <rasesh.mody at cavium.com>

Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list