Skip to content
Commit 96db0e03 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mlx4: Lock SQ lock in mlx4_ib_post_send()



Because of a typo, mlx4_ib_post_send() takes the same lock rq.lock as
mlx4_ib_post_recv().  Correct the code so the intended sq.lock is
taken when posting a send.

Noticed by Yossi Leybovitch and pointed out by Jack Morgenstein from
Mellanox.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 09f60f8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment