Thread (3 messages) flat view 3 messages, 2 authors, 2021-08-12

RE: [EXT] Re: [PATCH] qed: qed ll2 race condition fixes

From: Shai Malin <hidden>
Date: 2021-08-12 03:38:16

On Thu, 12 Aug 2021 at 01:51, Jakub Kicinski wrote: 
On Wed, 11 Aug 2021 19:28:55 +0300 Shai Malin wrote:
quoted
@@ -1728,6 +1746,8 @@ int qed_ll2_post_rx_buffer(void *cxt,
 	if (!p_ll2_conn)
 		return -EINVAL;
 	p_rx = &p_ll2_conn->rx_queue;
+	if (p_rx->set_prod_addr == NULL)
+		return -EIO;
Please use !p_rx->set_prod_addr as suggested by checkpatch
Sure, will be fixed in V2.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help