> -----Original Message-----
> From: Ye, MingjinX <[email protected]>
> Sent: Wednesday, November 8, 2023 7:40 PM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; Zhou, YidingX
> <[email protected]>; Ye, MingjinX <[email protected]>;
> [email protected]; Zhang, Qi Z <[email protected]>
> Subject: [PATCH v7] net/ice: fix crash on closing representor ports
>
> The data resource in struct rte_eth_dev is cleared and points to NULL when
> the DCF port is closed.
>
> If the DCF representor port is closed after the DCF port is closed, a
> segmentation fault occurs because the representor port accesses the data
> resource released by the DCF port.
>
> This patch fixes this issue by synchronizing the state of DCF ports and
> representor ports to the peer in real time when their state changes.
>
> Fixes: c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling")
> Cc: [email protected]
>
> Signed-off-by: Mingjin Ye <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi