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

Mody, Rasesh Rasesh.Mody at cavium.com
Sat Nov 10 01:39:05 CET 2018


>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>

Thanks!
-Rasesh


More information about the stable mailing list