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

2018-11-09 Thread Mody, Rasesh
>From: Timothy Redaelli >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 u

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

2018-11-09 Thread Timothy Redaelli
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 po