Hi, Calling rte_eth_dev_info_get() and not checking its return value before dereferencing the dev_info pointer is a critical error in Openvswitch code. It can lead to a crash (segmentation fault) or unpredictable behavior if the function fails to retrieve the device information.
I saw it has been fixed in most of the functions except in netdev_dpdk_set_config(). Please take a look at the patch and let me know if you have questions. Thanks, Jay -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
_______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
