aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>2021-10-13 10:18:52 -0400
committerJason Gunthorpe <jgg@nvidia.com>2021-10-13 13:33:22 -0300
commit13bac861952a78664907a0f927d3e874e9a59034 (patch)
tree81a785ac857883315c21f69a87fca1b1761314a5 /.gitattributes
parentIB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields (diff)
downloadlinux-dev-13bac861952a78664907a0f927d3e874e9a59034.tar.xz
linux-dev-13bac861952a78664907a0f927d3e874e9a59034.zip
IB/hfi1: Fix abba locking issue with sc_disable()
sc_disable() after having disabled the send context wakes up any waiters by calling hfi1_qp_wakeup() while holding the waitlock for the sc. This is contrary to the model for all other calls to hfi1_qp_wakeup() where the waitlock is dropped and a local is used to drive calls to hfi1_qp_wakeup(). Fix by moving the sc->piowait into a local list and driving the wakeup calls from the list. Fixes: 099a884ba4c0 ("IB/hfi1: Handle wakeup of orphaned QPs for pio") Link: https://lore.kernel.org/r/20211013141852.128104.2682.stgit@awfm-01.cornelisnetworks.com Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com> Reported-by: TOTE Robot <oslab@tsinghua.edu.cn> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions