Re: [PATCH] net/ice: fix ice dcf contrl thread crash

2023-02-08 Thread Stephen Hemminger
On Wed, 8 Feb 2023 16:30:05 +0800 Ke Zhang wrote: > + if (hw->vc_event_msg_cb == NULL) > + pthread_exit(NULL); Do we need rte_thread_exit() wrapper to be compatiable with Windows?

[PATCH] net/ice: fix ice dcf contrl thread crash

2023-02-08 Thread Ke Zhang
The control thread accesses the hardware resources after the resources were released, resulting in a segment error. This commit fixes the bug by exiting thread before resource released. Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf.c | 4 1 file changed, 4 insertions(+) diff --git a