]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IB/mlx4: Fix queue overflow check in post_recv
authorOr Gerlitz <ogerlitz@voltaire.com>
Wed, 6 Jan 2010 20:51:30 +0000 (12:51 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 6 Jan 2010 20:51:30 +0000 (12:51 -0800)
commit2b946077423270f065013c45d78522a5fb9542ca
tree9e3e0499de528d7f82804166d0e49c15289effd5
parent4c425588e0d72c9c55024752b0f6e709c96787ff
IB/mlx4: Fix queue overflow check in post_recv

In mlx4_ib_post_recv(), we should check the queue for overflow using
recv_cq instead of send_cq (current code looks like a copy-and-paste
mistake).

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c