Thread (3 messages) 3 messages, 3 authors, 2021-08-19

RE: [PATCH v3] IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()

From: Marciniszyn, Mike <hidden>
Date: 2021-08-09 13:15:50
Also in: lkml

Fixes: 7724105686e7 ("IB/hfi1: add driver files")
Reported-by: TOTE Robot <redacted>
Signed-off-by: Tuo Li <redacted>
---
v3:
* Add fixes line.
  Thank Jason Gunthorpe for helpful advice.
v2:
* Assign the return value of kmalloc_array() to a local variable and then check
it instead of assigning 0 to tx->num_desc when memory allocation fails.
  Thank Mike Marciniszyn for helpful advice.
Thanks!

I'm curious, did you find this with some fault injection testing?

Tested-by: Mike Marciniszyn <redacted>
Acked-by: Mike Marciniszyn <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help