summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hns/hns_roce_device.h
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2021-01-28 21:23:02 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-02-05 20:45:21 +0300
commit5120bf0a5fc15dec210a0fe0f39e4a256bb6e349 (patch)
treedc598863f7d62cd17883992dda20d2b641ffb723 /drivers/infiniband/hw/hns/hns_roce_device.h
parent8fc1b7027fc162738d5a85c82410e501a371a404 (diff)
downloadlinux-5120bf0a5fc15dec210a0fe0f39e4a256bb6e349.tar.xz
RDMA/rxe: Correct skb on loopback path
rxe_net.c sends packets at the IP layer with skb->data pointing at the IP header but receives packets from a UDP tunnel with skb->data pointing at the UDP header. On the loopback path this was not correctly accounted for. This patch corrects for this by using sbk_pull() to strip the IP header from the skb on received packets. Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/20210128182301.16859-1-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_device.h')
0 files changed, 0 insertions, 0 deletions