]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Fix useless copy in send_atomic_ack
authorBob Pearson <rpearson@hpe.com>
Fri, 18 Jun 2021 04:57:38 +0000 (23:57 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 18:38:52 +0000 (15:38 -0300)
commitc55c74a82accef3ac27722d868fbf2232a1b9704
tree8ff1c2bd926c41ee486eb8603264c742c705724f
parentd49902bd7fba28c624c3a590b94534ac37fa9deb
RDMA/rxe: Fix useless copy in send_atomic_ack

In send_atomic_ack() in rxe_resp.c there is code copying ack_pkt into the
skb->cb[]. This doesn't do anything useful because the cb[] is not used in
the transmit path by the rxe driver.

Remove this code.

Fixes: 8749cedfc9c8 ("IB/rxe: do not copy extra stack memory to skb")
Link: https://lore.kernel.org/r/20210618045742.204195-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_resp.c