On 03/03/2025 17:19, Jay Ding via dev wrote:
> Hi,
> 

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

The mailing list strips out attachments. Can you send the patch to the
mailing list with 'git send-email' ?

There's information on submitting a patch here:
https://docs.openvswitch.org/en/latest/internals/contributing/submitting-patches/


thanks,
Kevin.

> Thanks,
> Jay
> 
> 
> _______________________________________________
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to