Thread (8 messages) 8 messages, 3 authors, 2021-07-22

Re: [PATCH for-rc] iw_cxgb4: Fix refcount underflow while destroying cqs.

From: Leon Romanovsky <leon@kernel.org>
Date: 2021-07-22 14:01:35

On Thu, Jul 22, 2021 at 10:02:31AM -0300, Jason Gunthorpe wrote:
On Thu, Jul 22, 2021 at 03:57:39PM +0300, Leon Romanovsky wrote:
quoted
We are talking about two different issues that this refcount_read patch pointed.
You are focused on wrong usage of completion, I saw useless compare of
refcount_t with 0 that can't be.
It can be zero. Anything that does refcount_dec_and_test() can make
the refcount be zero.
It can be, but it is not the case at least for iwpm.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help