[dpdk-dev] [PATCH v2] net/failsafe: link_update request crashing at boot

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 22 10:36:23 CET 2021


On 10/21/2021 10:42 PM, vipul.ashri at oracle.com wrote:
> From: Vipul Ashri <vipul.ashri at oracle.com>
> 
> failsafe crashed while sending early link_update request during
> boot time initialization.
> Based on debugging we found failsafe device was good but sub-
> devices were progressing towards initialization and SUBOPS macro
> where expanding macro gives [partial_dev]->dev_ops->link_update()
> execution of which triggered crash because dev_ops==0. similar
> crash seen at failsafe_eth_dev_close()
> 
> Failsafe driver need a separate check for subdevices similar to
> "RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV);" which is
> called to almost every eth_dev function.
> 
> Fixes: a46f8d5 ("net/failsafe: add fail-safe PMD")
> Cc: stable at dpdk.org
> Signed-off-by: Vipul Ashri <vipul.ashri at oracle.com>


Hi Gaetan,

Can you please review this patch?

Thanks,
ferruh


More information about the stable mailing list