Re: [PATCH] net/bnxt: fix deadlock in mgr timer cb

2024-02-08 Thread Ajit Khaparde
On Fri, Nov 3, 2023 at 9:07 PM Weiguo Li wrote: > > The function 'ulp_ha_mgr_timer_cb' acquires a lock on the context > entry at the beginning with bnxt_ulp_cntxt_entry_acquire(). This lock > is expected to be released by bnxt_ulp_cntxt_entry_release() at the > end of the function. > > However, th

[PATCH] net/bnxt: fix deadlock in mgr timer cb

2023-11-03 Thread Weiguo Li
The function 'ulp_ha_mgr_timer_cb' acquires a lock on the context entry at the beginning with bnxt_ulp_cntxt_entry_acquire(). This lock is expected to be released by bnxt_ulp_cntxt_entry_release() at the end of the function. However, the second early return statement in the function could potentia