summaryrefslogtreecommitdiff
path: root/lib/lzo
diff options
context:
space:
mode:
authorYonatan Cohen <yonatanc@mellanox.com>2016-09-07 11:04:05 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-09-16 18:14:08 (GMT)
commit908948877bbbb240f67d7eb27d3a392beb394a07 (patch)
tree0c02e80de95207f0659bdfe57cc526e0a1cd3dea /lib/lzo
parentdfdd6158ca2c8838313470c5ab79243d04da70b2 (diff)
downloadlinux-908948877bbbb240f67d7eb27d3a392beb394a07.tar.xz
IB/rxe: Fix duplicate atomic request handling
When handling ack for atomic opcodes like "fetch&add" or "cmp&swp", the method send_atomic_ack() saves the ack before sending it, in case it gets lost and never reach the requester. In which case the method duplicate_request() will need to find it using the duplicated request.psn. But send_atomic_ack() used a wrong psn value and thus the above ack was never found. This fix uses the ack.psn to locate the ack in case its needed. This fix also copies the ack packet to the skb's control buffer since duplicate_request() will need it when calling rxe_xmit_packet() Fixes: 8700e3e7c485 ("Soft RoCE driver") Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions