Skip to content
Commit 614c3c85 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mlx4: Fix handling of wq->tail for send completions



Cast the increment added to wq->tail when send completions are
processed to u16 to avoid using wrong values caused by standard
integer promotions.

The same bug was fixed in libmlx4 by Eli Cohen <eli@mellanox.co.il>.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 99f9f3d4
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